Class: ODDB::State::TestGlobal::StubApp

Inherits:
Object
  • Object
show all
Defined in:
test/test_state/global.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubApp) initialize

A new instance of StubApp



62
63
64
65
# File 'test/test_state/global.rb', line 62

def initialize
  @state_transp_called = false
  @companies ||= {}
end

Instance Attribute Details

- (Object) companies

Returns the value of attribute companies



60
61
62
# File 'test/test_state/global.rb', line 60

def companies
  @companies
end

- (Object) fachinfos

Returns the value of attribute fachinfos



60
61
62
# File 'test/test_state/global.rb', line 60

def fachinfos
  @fachinfos
end

- (Object) galenic_groups

Returns the value of attribute galenic_groups



60
61
62
# File 'test/test_state/global.rb', line 60

def galenic_groups
  @galenic_groups
end

- (Object) state_transp_called

Returns the value of attribute state_transp_called



61
62
63
# File 'test/test_state/global.rb', line 61

def state_transp_called
  @state_transp_called
end

Instance Method Details

- (Object) company(oid)



66
67
68
# File 'test/test_state/global.rb', line 66

def company(oid)
  @companies[oid.to_i]
end

- (Object) fachinfo(oid)



72
73
74
# File 'test/test_state/global.rb', line 72

def fachinfo(oid)
  @fachinfos[oid]
end

- (Object) galenic_group(oid)



69
70
71
# File 'test/test_state/global.rb', line 69

def galenic_group(oid)
  @galenic_groups[oid.to_i]
end