Class: ODDB::View::Drugs::TestFachinfoConfirm::StubSession

Inherits:
Object
  • Object
show all
Defined in:
test/test_view/drugs/fachinfoconfirm.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) base_url

Returns the value of attribute base_url



21
22
23
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 21

def base_url
  @base_url
end

- (Object) error=(value) (writeonly)

Sets the attribute error

Parameters:

  • value

    the value to set the attribute error to.



20
21
22
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 20

def error=(value)
  @error = value
end

- (Object) event

Returns the value of attribute event



21
22
23
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 21

def event
  @event
end

- (Object) warning=(value) (writeonly)

Sets the attribute warning

Parameters:

  • value

    the value to set the attribute warning to.



20
21
22
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 20

def warning=(value)
  @warning = value
end

Instance Method Details

- (Object) attributes(*args)



36
37
38
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 36

def attributes(*args)
  {}
end

- (Boolean) error?

Returns:

  • (Boolean)


22
23
24
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 22

def error?
  @error
end

- (Object) event_url(event)



25
26
27
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 25

def event_url(event)
  event.to_s
end

- (Object) flavor



39
40
41
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 39

def flavor
  "gcc"
end

- (Object) language



42
43
44
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 42

def language
  'de'
end

- (Object) lookandfeel



30
31
32
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 30

def lookandfeel
  self
end

- (Object) lookup(*args)



33
34
35
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 33

def lookup(*args)
  'lookup'
end

- (Object) state



45
46
47
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 45

def state
  self
end

- (Boolean) warning?

Returns:

  • (Boolean)


28
29
# File 'test/test_view/drugs/fachinfoconfirm.rb', line 28

def warning?
end