Sha256: ec206d7c041057c2b8d0f0363956b0d1c856b37f9be0eac61d5676ce069886a3

Contents?: true

Size: 760 Bytes

Versions: 11

Compression:

Stored size: 760 Bytes

Contents

# frozen_string_literal: true

class EasyPost::Hooks::ResponseContext
  attr_reader :http_status, :method, :path, :headers, :response_body,
              :request_timestamp, :response_timestamp, :request_uuid,
              :client_response_object

  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
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
easypost-6.4.1 lib/easypost/hooks/response_context.rb
easypost-6.4.0 lib/easypost/hooks/response_context.rb
easypost-6.3.0 lib/easypost/hooks/response_context.rb
easypost-6.2.0 lib/easypost/hooks/response_context.rb
easypost-6.1.1 lib/easypost/hooks/response_context.rb
easypost-6.1.0 lib/easypost/hooks/response_context.rb
easypost-6.0.0 lib/easypost/hooks/response_context.rb
easypost-5.3.0 lib/easypost/hooks/response_context.rb
easypost-5.2.0 lib/easypost/hooks/response_context.rb
easypost-5.1.1 lib/easypost/hooks/response_context.rb
easypost-5.1.0 lib/easypost/hooks/response_context.rb