Exception: JsonApiFilter::UnknownInclusionsError
- Inherits:
-
StandardError
- Object
- StandardError
- JsonApiFilter::UnknownInclusionsError
- Defined in:
- lib/json_api_filter.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
-
#initialize(item) ⇒ UnknownInclusionsError
constructor
A new instance of UnknownInclusionsError.
- #message ⇒ Object
Constructor Details
#initialize(item) ⇒ UnknownInclusionsError
Returns a new instance of UnknownInclusionsError.
30 31 32 33 |
# File 'lib/json_api_filter.rb', line 30 def initialize(item) super() @item = item end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
29 30 31 |
# File 'lib/json_api_filter.rb', line 29 def item @item end |
Instance Method Details
#message ⇒ Object
35 36 37 |
# File 'lib/json_api_filter.rb', line 35 def "Unable to identify #{item} as a relationship path or inclusion" end |