Class: ActiveModelSerializers::Test::Schema::AssertResponseSchema

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

#initializeAssertResponseSchema

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