Class: Purple::Responses::Object
- Inherits:
-
Object
- Object
- Purple::Responses::Object
- Defined in:
- lib/purple/responses/object.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
6 7 8 |
# File 'lib/purple/responses/object.rb', line 6 def attributes @attributes end |
Instance Method Details
#contain?(key) ⇒ Boolean
10 11 12 |
# File 'lib/purple/responses/object.rb', line 10 def contain?(key) attributes.key?(key) end |