Exception: Virgil::SDK::Client::VirgilClient::InvalidCardException
- Inherits:
-
StandardError
- Object
- StandardError
- Virgil::SDK::Client::VirgilClient::InvalidCardException
- Defined in:
- lib/virgil/sdk/client/virgil_client.rb
Overview
Exception raised when card is not valid
Instance Attribute Summary collapse
-
#invalid_cards ⇒ Object
readonly
Returns the value of attribute invalid_cards.
Instance Method Summary collapse
-
#initialize(invalid_cards) ⇒ InvalidCardException
constructor
A new instance of InvalidCardException.
- #to_s ⇒ Object
Constructor Details
#initialize(invalid_cards) ⇒ InvalidCardException
Returns a new instance of InvalidCardException
54 55 56 |
# File 'lib/virgil/sdk/client/virgil_client.rb', line 54 def initialize(invalid_cards) @invalid_cards = invalid_cards end |
Instance Attribute Details
#invalid_cards ⇒ Object (readonly)
Returns the value of attribute invalid_cards
52 53 54 |
# File 'lib/virgil/sdk/client/virgil_client.rb', line 52 def invalid_cards @invalid_cards end |
Instance Method Details
#to_s ⇒ Object
58 59 60 |
# File 'lib/virgil/sdk/client/virgil_client.rb', line 58 def to_s "Cards #{@invalid_cards} are not valid" end |