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.



125
126
127
128
# File 'lib/active_model_serializers/test/schema.rb', line 125

def initialize(*)
  super
  @payload = response_body
end