Class: HTTParty::Response
- Inherits:
-
Object
- Object
- HTTParty::Response
- Defined in:
- lib/mollie/ideal.rb
Instance Method Summary collapse
Instance Method Details
#error? ⇒ Boolean
7 8 9 10 11 |
# File 'lib/mollie/ideal.rb', line 7 def error? parsed_response && (item = parsed_response['item']) && (type = item['type']) && 'error' == type end |