Class: ActiveResource::ConnectionError
- Inherits:
-
Object
- Object
- ActiveResource::ConnectionError
- Defined in:
- lib/poundpay/exceptions.rb
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
6 7 8 |
# File 'lib/poundpay/exceptions.rb', line 6 def data @data ||= ActiveSupport::JSON.decode(self.response.body).symbolize_keys rescue {} end |