Class: ODDB::TestGalenicGroup::StubApp

Inherits:
Object
  • Object
show all
Includes:
ODBA::Persistable
Defined in:
test/test_model/galenicgroup.rb

Instance Method Summary (collapse)

Constructor Details

- (StubApp) initialize

A new instance of StubApp



28
29
30
# File 'test/test_model/galenicgroup.rb', line 28

def initialize
  @galenic_groups = {}
end

Instance Method Details

- (Object) create_galenic_group



31
32
33
# File 'test/test_model/galenicgroup.rb', line 31

def create_galenic_group
  ODDB::GalenicGroup.new
end

- (Object) galenic_group(oid)



34
35
36
# File 'test/test_model/galenicgroup.rb', line 34

def galenic_group(oid)
  @galenic_groups[oid]
end