Class: Greenlight::RequestResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/greenlight/request.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



13
14
15
# File 'lib/greenlight/request.rb', line 13

def body
  @body
end

#codeObject

Returns the value of attribute code.



13
14
15
# File 'lib/greenlight/request.rb', line 13

def code
  @code
end

#headersObject

Returns the value of attribute headers.



13
14
15
# File 'lib/greenlight/request.rb', line 13

def headers
  @headers
end

#raw_bodyObject

Returns the value of attribute raw_body.



13
14
15
# File 'lib/greenlight/request.rb', line 13

def raw_body
  @raw_body
end

#total_timeObject

Returns the value of attribute total_time.



13
14
15
# File 'lib/greenlight/request.rb', line 13

def total_time
  @total_time
end