Class: APIQL::HashEntity

Inherits:
Entity
  • Object
show all
Defined in:
lib/apiql.rb

Instance Attribute Summary

Attributes inherited from Entity

#object

Instance Method Summary collapse

Methods inherited from Entity

attributes, inherited, #initialize, #render

Constructor Details

This class inherits a constructor from APIQL::Entity

Instance Method Details

#get_field(field) ⇒ Object



268
269
270
# File 'lib/apiql.rb', line 268

def get_field(field)
  object[field.to_sym]
end