Class: HaveAPI::ModelAdapters::Hash::Output
- Inherits:
-
HaveAPI::ModelAdapter::Output
- Object
- HaveAPI::ModelAdapter::Output
- HaveAPI::ModelAdapters::Hash::Output
- Defined in:
- lib/haveapi/model_adapters/hash.rb
Instance Method Summary collapse
Methods inherited from HaveAPI::ModelAdapter::Output
Constructor Details
This class inherits a constructor from HaveAPI::ModelAdapter::Output
Instance Method Details
#[](name) ⇒ Object
24 25 26 |
# File 'lib/haveapi/model_adapters/hash.rb', line 24 def [](name) @object[name] end |
#has_param?(name) ⇒ Boolean
20 21 22 |
# File 'lib/haveapi/model_adapters/hash.rb', line 20 def has_param?(name) @object.has_key?(name) end |