Class: ODDB::State::Admin::TestTransparentLoginState::StubApp

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubApp) initialize

A new instance of StubApp



37
38
39
# File 'test/test_state/admin/login.rb', line 37

def initialize
  @state_transp_called = false
end

Instance Attribute Details

- (Object) state_transp_called

Returns the value of attribute state_transp_called



36
37
38
# File 'test/test_state/admin/login.rb', line 36

def state_transp_called
  @state_transp_called
end

Instance Method Details

- (Object) company(oid)



40
41
42
# File 'test/test_state/admin/login.rb', line 40

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

- (Object) galenic_group(oid)



43
44
45
# File 'test/test_state/admin/login.rb', line 43

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