Exception: RestEasy::MissingAttributeError
- Inherits:
-
AttributeError
- Object
- StandardError
- Error
- AttributeError
- RestEasy::MissingAttributeError
- Defined in:
- lib/rest_easy.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.
28 29 30 31 |
# File 'lib/rest_easy.rb', line 28 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.
26 27 28 |
# File 'lib/rest_easy.rb', line 26 def attribute_name @attribute_name end |