Class: ActiveResource::Errors
- Inherits:
-
Object
- Object
- ActiveResource::Errors
- Defined in:
- lib/qoolife-api/errors.rb
Instance Method Summary collapse
- #from_hash_with_pre_processing(messages, save_cache = false) ⇒ Object (also: #from_hash)
Instance Method Details
#from_hash_with_pre_processing(messages, save_cache = false) ⇒ Object Also known as: from_hash
3 4 5 6 7 8 9 10 11 |
# File 'lib/qoolife-api/errors.rb', line 3 def from_hash_with_pre_processing(, save_cache = false) = if ['error'] == 'invalid_resource' ['messages'] else end from_hash_without_pre_processing(,save_cache) end |