Class: ODDB::Remote::Drugs::GalenicForm
- Inherits:
-
Object
- Object
- Object
- ODDB::Remote::Drugs::GalenicForm
show all
- Defined in:
- lib/oddb/remote/drugs/galenic_form.rb
Instance Attribute Summary
Attributes inherited from Object
#remote, #source
Instance Method Summary
collapse
Methods inherited from Object
delegate, #initialize, #uid
Instance Method Details
#description ⇒ Object
13
14
15
|
# File 'lib/oddb/remote/drugs/galenic_form.rb', line 13
def description
@description ||= ODDB::Util::Multilingual.new(:de => @remote.de)
end
|
16
17
18
|
# File 'lib/oddb/remote/drugs/galenic_form.rb', line 16
def group
@group ||= ODDB::Drugs::GalenicGroup.find_by_name(groupname)
end
|
#groupname ⇒ Object
19
20
21
|
# File 'lib/oddb/remote/drugs/galenic_form.rb', line 19
def groupname
@groupname ||= @remote && @remote.galenic_group.de
end
|