class EasyPost::Hooks::ResponseContext

Attributes

client_response_object[R]
headers[R]
http_status[R]
method[R]
path[R]
request_timestamp[R]
request_uuid[R]
response_body[R]
response_timestamp[R]

Public Class Methods

new(http_status:, method:, path:, headers:, response_body:, request_timestamp:, response_timestamp:, request_uuid:, client_response_object:) click to toggle source
# File lib/easypost/hooks/response_context.rb, line 8
def initialize(http_status:, method:, path:, headers:, response_body:,
               request_timestamp:, response_timestamp:, request_uuid:,
               client_response_object:)
  @http_status = http_status
  @method = method
  @path = path
  @headers = headers
  @response_body = response_body
  @request_timestamp = request_timestamp
  @response_timestamp = response_timestamp
  @request_uuid = request_uuid
  @client_response_object = client_response_object

  freeze
end