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.



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

def name
  @name
end

#realizerObject

Returns the value of attribute realizer.



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

def realizer
  @realizer
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 10

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