Class: GrapeSwagger::FastJsonapi::Parser
- Inherits:
-
Jsonapi::Parser
- Object
- Jsonapi::Parser
- GrapeSwagger::FastJsonapi::Parser
- Defined in:
- lib/grape_jsonapi/deprecated/parser.rb
Instance Attribute Summary
Attributes inherited from Jsonapi::Parser
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(model, endpoint) ⇒ Parser
constructor
A new instance of Parser.
Methods inherited from Jsonapi::Parser
Constructor Details
#initialize(model, endpoint) ⇒ Parser
Returns a new instance of Parser.
6 7 8 9 10 11 12 13 14 |
# File 'lib/grape_jsonapi/deprecated/parser.rb', line 6 def initialize(model, endpoint) warn " WARNING: Grape::FastJsonapi::Parser is deprecated and will be removed on version 1.1 Use Grape::Jsonapi::Parser instead " super(model, endpoint) end |
Class Method Details
.deprecated? ⇒ Boolean
16 17 18 |
# File 'lib/grape_jsonapi/deprecated/parser.rb', line 16 def self.deprecated? true end |