Class: Lucerna::HTTP::Request

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



11
12
13
# File 'lib/lucerna/http.rb', line 11

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



11
12
13
# File 'lib/lucerna/http.rb', line 11

def headers
  @headers
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



11
12
13
# File 'lib/lucerna/http.rb', line 11

def method
  @method
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



11
12
13
# File 'lib/lucerna/http.rb', line 11

def url
  @url
end