Class: ActiveModelSerializers::Test::Schema::AssertResponseSchema
- Inherits:
-
AssertSchema
- Object
- AssertSchema
- ActiveModelSerializers::Test::Schema::AssertResponseSchema
- Defined in:
- lib/active_model_serializers/test/schema.rb
Instance Attribute Summary
Attributes inherited from AssertSchema
#message, #payload, #request, #response, #schema_path
Instance Method Summary collapse
-
#initialize ⇒ AssertResponseSchema
constructor
A new instance of AssertResponseSchema.
Methods inherited from AssertSchema
Constructor Details
#initialize ⇒ AssertResponseSchema
Returns a new instance of AssertResponseSchema.
127 128 129 130 |
# File 'lib/active_model_serializers/test/schema.rb', line 127 def initialize(*) super @payload = response_body end |