class IbanClient::RequestError
Attributes
response[R]
Public Class Methods
new(iban:, response:)
click to toggle source
Calls superclass method
IbanClient::Error::new
# File lib/iban_client/errors.rb, line 13 def initialize(iban:, response:) @response = response super(iban: iban) end
Public Instance Methods
message()
click to toggle source
# File lib/iban_client/errors.rb, line 18 def message "Request iban: #{iban}\n"\ "Response: #{response}" end