Class: OpenapiFirst::ParsedRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



4
5
6
# File 'lib/openapi_first/parsed_request.rb', line 4

def body
  @body
end

#cookiesObject (readonly)

Returns the value of attribute cookies

Returns:

  • (Object)

    the current value of cookies



4
5
6
# File 'lib/openapi_first/parsed_request.rb', line 4

def cookies
  @cookies
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



4
5
6
# File 'lib/openapi_first/parsed_request.rb', line 4

def headers
  @headers
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



4
5
6
# File 'lib/openapi_first/parsed_request.rb', line 4

def path
  @path
end

#queryObject (readonly)

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



4
5
6
# File 'lib/openapi_first/parsed_request.rb', line 4

def query
  @query
end