Class: OpenapiFirst::ParsedResponse

Inherits:
Data
  • Object
show all
Defined in:
lib/openapi_first/response_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



6
7
8
# File 'lib/openapi_first/response_parser.rb', line 6

def body
  @body
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



6
7
8
# File 'lib/openapi_first/response_parser.rb', line 6

def headers
  @headers
end