class Buckaruby::InvalidResponseException

Exception raised when the response from Buckaroo was invalid.

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/buckaruby/exception.rb, line 51
def initialize(response)
  @response = response

  message = "Invalid response received from Buckaroo: #{response.message} (#{response.code})"
  super(message)
end