Exception: Smartware::Interface::CardReader::CardReaderError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Smartware::Interface::CardReader::CardReaderError
- Defined in:
- lib/smartware/interfaces/card_reader.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ CardReaderError
constructor
A new instance of CardReaderError.
Constructor Details
#initialize(message, code) ⇒ CardReaderError
Returns a new instance of CardReaderError.
14 15 16 17 18 |
# File 'lib/smartware/interfaces/card_reader.rb', line 14 def initialize(, code) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
12 13 14 |
# File 'lib/smartware/interfaces/card_reader.rb', line 12 def code @code end |