Class: ODDB::Remote::Drugs::Product

Inherits:
Object
  • Object
show all
Defined in:
lib/oddb/remote/drugs/product.rb

Instance Attribute Summary

Attributes inherited from Object

#remote, #source

Instance Method Summary collapse

Methods inherited from Object

delegate, #initialize, #uid

Constructor Details

This class inherits a constructor from ODDB::Remote::Object

Instance Method Details

#sequencesObject



11
12
13
14
15
# File 'lib/oddb/remote/drugs/product.rb', line 11

def sequences
  @sequences ||= @remote.sequences.collect do |seqnr, seq|
    Remote::Drugs::Sequence.new @source, seq
  end
end