class EasyPost::Hooks::RequestContext

Attributes

headers[R]
method[R]
path[R]
request_body[R]
request_timestamp[R]
request_uuid[R]

Public Class Methods

new(method:, path:, headers:, request_body:, request_timestamp:, request_uuid:) click to toggle source
# File lib/easypost/hooks/request_context.rb, line 6
def initialize(method:, path:, headers:, request_body:, request_timestamp:, request_uuid:)
  @method = method
  @path = path
  @headers = headers
  @request_body = request_body
  @request_timestamp = request_timestamp
  @request_uuid = request_uuid

  freeze
end