class ElasticAPM::Context::Response

@api private

Attributes

finished[RW]
headers[RW]
headers_sent[RW]
status_code[RW]

Public Class Methods

new( status_code, headers: {}, headers_sent: true, finished: true ) click to toggle source
# File lib/elastic_apm/context/response.rb, line 6
def initialize(
  status_code,
  headers: {},
  headers_sent: true,
  finished: true
)
  @status_code = status_code
  @headers = headers
  @headers_sent = headers_sent
  @finished = finished
end