Exception: Finicity::DuplicateCustomerError
- Inherits:
-
StandardError
- Object
- StandardError
- Finicity::DuplicateCustomerError
- Defined in:
- lib/finicity/errors.rb
Instance Attribute Summary collapse
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username) ⇒ DuplicateCustomerError
constructor
A new instance of DuplicateCustomerError.
- #to_s ⇒ Object
Constructor Details
#initialize(username) ⇒ DuplicateCustomerError
Returns a new instance of DuplicateCustomerError.
24 25 26 |
# File 'lib/finicity/errors.rb', line 24 def initialize(username) @username = username end |
Instance Attribute Details
#username ⇒ Object (readonly)
Returns the value of attribute username.
22 23 24 |
# File 'lib/finicity/errors.rb', line 22 def username @username end |
Instance Method Details
#to_s ⇒ Object
28 29 30 |
# File 'lib/finicity/errors.rb', line 28 def to_s "Multiple customers found with username: #{username}" end |