Module: Sequencescape::Api::Resource::Attributes::InstanceMethods

Defined in:
lib/sequencescape-api/resource/attributes.rb

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) eager_loaded_attribute?(name)



14
15
16
# File 'lib/sequencescape-api/resource/attributes.rb', line 14

def eager_loaded_attribute?(name)
  defined_attributes.include?(name.to_sym) and attributes.key?(name.to_s)
end