Exception: RestEasy::MissingAttributeError

Inherits:
AttributeError show all
Defined in:
lib/rest_easy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (readonly)

Returns the value of attribute attribute_name.



26
27
28
# File 'lib/rest_easy.rb', line 26

def attribute_name
  @attribute_name
end