Class: ODDB::State::Drugs::TestGalenicForm::StubApp

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubApp) initialize

A new instance of StubApp



41
42
43
# File 'test/test_state/drugs/galenicform.rb', line 41

def initialize
  @update_called = false
end

Instance Attribute Details

- (Object) galenic_forms

Returns the value of attribute galenic_forms



39
40
41
# File 'test/test_state/drugs/galenicform.rb', line 39

def galenic_forms
  @galenic_forms
end

- (Object) update_called (readonly)

Returns the value of attribute update_called



40
41
42
# File 'test/test_state/drugs/galenicform.rb', line 40

def update_called
  @update_called
end

Instance Method Details

- (Object) galenic_form(name)



44
45
46
# File 'test/test_state/drugs/galenicform.rb', line 44

def galenic_form(name)
  @galenic_forms[name]
end

- (Object) update(pointer, values)



47
48
49
# File 'test/test_state/drugs/galenicform.rb', line 47

def update(pointer,values)  
  @update_called = true
end