Exception: NfeKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- NfeKeyError
- Defined in:
- lib/nfe/helpers/nfe_key.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ NfeKeyError
constructor
A new instance of NfeKeyError.
Constructor Details
#initialize(key) ⇒ NfeKeyError
4 5 6 |
# File 'lib/nfe/helpers/nfe_key.rb', line 4 def initialize(key) @key =key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
2 3 4 |
# File 'lib/nfe/helpers/nfe_key.rb', line 2 def key @key end |