Class: AutoapiTesting::AutoAPI::NameAndSchema

Inherits:
Struct
  • Object
show all
Defined in:
lib/autoapi_testing.rb

Overview

bundle name and schema so ‘match_param` and `match_response_header` can provide the field name for context in the error message

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



54
55
56
# File 'lib/autoapi_testing.rb', line 54

def name
  @name
end

#schemaObject

Returns the value of attribute schema

Returns:

  • (Object)

    the current value of schema



54
55
56
# File 'lib/autoapi_testing.rb', line 54

def schema
  @schema
end