Class: ActiveModelSerializers::Test::Schema::AssertRequestSchema

Inherits:
AssertSchema
  • Object
show all
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

Methods inherited from AssertSchema

#call

Constructor Details

#initializeAssertRequestSchema

Returns a new instance of AssertRequestSchema.


131
132
133
134
# File 'lib/active_model_serializers/test/schema.rb', line 131

def initialize(*)
  super
  @payload = request_params
end