Class: Sequencescape::Well

Inherits:
Asset show all
Includes:
Behaviour::Receptacle, Behaviour::StateDriven
Defined in:
lib/sequencescape/well.rb

Instance Method Summary collapse

Methods included from Behaviour::StateDriven

included

Methods included from Behaviour::Receptacle

included

Methods inherited from Api::Resource

#initialize, is_a_proxied_model?

Methods included from Api::Resource::Attributes

extended

Methods included from Api::Resource::Groups

#attribute_group, extended

Methods included from Api::Associations

extended

Methods included from Api::Composition

#composed_of

Methods included from Api::Actions

extended

Methods included from Api::Resource::Json

#as_json, #changed?, #coerce_to, included

Methods included from Api::ErrorHandling

included

Methods included from Api::Resource::Modifications

#initialize, #save!, #update_attributes!

Methods included from Api::Resource::InstanceMethods

#eql?, included, #initialize

Methods included from Api::Resource::ActiveModel

included, #persisted?

Constructor Details

This class inherits a constructor from Sequencescape::Api::Resource

Instance Method Details

#pool_idObject



14
15
16
# File 'lib/sequencescape/well.rb', line 14

def pool_id
  pool.nil? ? nil : pool['id']
end