Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/core_ext/hash_patch.rb
Instance Method Summary collapse
-
#error ⇒ Object
Get error element of API response.
-
#id ⇒ Object
Get id element of API response.
-
#result ⇒ Object
Get result element of API response.
Instance Method Details
#error ⇒ Object
Get error element of API response.
11 12 13 |
# File 'lib/core_ext/hash_patch.rb', line 11 def error self['error'] end |
#id ⇒ Object
Get id element of API response.
7 8 9 |
# File 'lib/core_ext/hash_patch.rb', line 7 def id self['id'] end |
#result ⇒ Object
Get result element of API response.
3 4 5 |
# File 'lib/core_ext/hash_patch.rb', line 3 def result self['result'] end |