Exception: IbanClient::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/iban_client/errors.rb

Direct Known Subclasses

AccountError, RequestError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iban:) ⇒ Error

Returns a new instance of Error.



5
6
7
# File 'lib/iban_client/errors.rb', line 5

def initialize(iban:)
  @iban = iban
end

Instance Attribute Details

#ibanObject (readonly)

Returns the value of attribute iban.



3
4
5
# File 'lib/iban_client/errors.rb', line 3

def iban
  @iban
end