Method: Etna::Clients::Magma::Attributes#attribute

Defined in:
lib/etna/clients/magma/models.rb

#attribute(attribute_key) ⇒ Object



428
429
430
431
# File 'lib/etna/clients/magma/models.rb', line 428

def attribute(attribute_key)
  return nil unless raw.include?(attribute_key)
  Attribute.new(raw[attribute_key])
end