Class: ActiveResource::ConnectionError

Inherits:
Object
  • Object
show all
Defined in:
lib/poundpay/exceptions.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



6
7
8
# File 'lib/poundpay/exceptions.rb', line 6

def data
  @data ||= ActiveSupport::JSON.decode(self.response.body).symbolize_keys rescue {}
end