Sha256: e70b2f0ad0beefd27a27d73e20140305fc8e29c79c6c2f427179808009ff53e6

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  class Request
    attr_reader :url, :body, :headers, :debug

    def initialize(url:, body: nil, headers: {}, debug: false)
      @url = url
      @body = body
      @headers = headers
      @debug = debug
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
friendly_shipping-0.3.4 lib/friendly_shipping/request.rb
friendly_shipping-0.3.3 lib/friendly_shipping/request.rb
friendly_shipping-0.3.0 lib/friendly_shipping/request.rb