Exception: Fortnox::MissingAttributeError
- Inherits:
-
AttributeError
- Object
- StandardError
- Error
- AttributeError
- Fortnox::MissingAttributeError
- Defined in:
- lib/fortnox.rb
Instance Attribute Summary collapse
-
#attribute_name ⇒ Object
readonly
Returns the value of attribute attribute_name.
Instance Method Summary collapse
-
#initialize(attribute_name) ⇒ MissingAttributeError
constructor
A new instance of MissingAttributeError.
Constructor Details
#initialize(attribute_name) ⇒ MissingAttributeError
Returns a new instance of MissingAttributeError.
48 49 50 51 |
# File 'lib/fortnox.rb', line 48 def initialize(attribute_name) @attribute_name = attribute_name super("Missing required attribute: #{attribute_name}") end |
Instance Attribute Details
#attribute_name ⇒ Object (readonly)
Returns the value of attribute attribute_name.
46 47 48 |
# File 'lib/fortnox.rb', line 46 def attribute_name @attribute_name end |