Class: GreenLog::Rack::RequestLogging::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/green_log/rack/request_logging.rb

Instance Attribute Summary collapse

Instance Attribute Details

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



31
32
33
# File 'lib/green_log/rack/request_logging.rb', line 31

def duration
  @duration
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



31
32
33
# File 'lib/green_log/rack/request_logging.rb', line 31

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



31
32
33
# File 'lib/green_log/rack/request_logging.rb', line 31

def status
  @status
end