Exception: SpreedlyCore::InvalidResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/spreedly_core.rb

Instance Method Summary collapse

Constructor Details

#initialize(response, message) ⇒ InvalidResponse

Returns a new instance of InvalidResponse.



24
25
26
# File 'lib/spreedly_core.rb', line 24

def initialize(response, message)
  super("#{message}\nResponse:\n#{response.inspect}")
end