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.



133
134
135
136
# File 'lib/active_model_serializers/test/schema.rb', line 133

def initialize(*)
  super
  @payload = request_params
end