Class: ActiveModelSerializers::Test::Schema::AssertRequestSchema
- Inherits:
-
AssertSchema
- Object
- AssertSchema
- ActiveModelSerializers::Test::Schema::AssertRequestSchema
- 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 ⇒ AssertRequestSchema
constructor
A new instance of AssertRequestSchema.
Methods inherited from AssertSchema
Constructor Details
#initialize ⇒ AssertRequestSchema
Returns a new instance of AssertRequestSchema.
133 134 135 136 |
# File 'lib/active_model_serializers/test/schema.rb', line 133 def initialize(*) super @payload = request_params end |