Class: Materialist::Materializer::Internals::HateoasResource
- Inherits:
-
PayloadResource
- Object
- PayloadResource
- Materialist::Materializer::Internals::HateoasResource
- Defined in:
- lib/materialist/materializer/internals/resources.rb
Instance Attribute Summary
Attributes inherited from PayloadResource
Instance Method Summary collapse
-
#initialize(response, client:) ⇒ HateoasResource
constructor
A new instance of HateoasResource.
Constructor Details
#initialize(response, client:) ⇒ HateoasResource
Returns a new instance of HateoasResource.
16 17 18 |
# File 'lib/materialist/materializer/internals/resources.rb', line 16 def initialize(response, client:) super(response.body, client: client) end |