Exception: JSONAPI::Realizer::Error::ResourceAttributeNotFound

Inherits:
JSONAPI::Realizer::Error show all
Defined in:
lib/jsonapi/realizer/error/resource_attribute_not_found.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 5

def name
  @name
end

#realizerObject

Returns the value of attribute realizer.



6
7
8
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 6

def realizer
  @realizer
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 8

def message
  "#{realizer} doesn't define the attribute #{name}"
end