Sha256: 651dd11ecaa46f1a613c5f47a6bff36654ccaa117d65cb2c59e5ebab3cdd1b64
Contents?: true
Size: 488 Bytes
Versions: 17
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping class Request attr_reader :url, :body, :headers, :debug # @param [String] url The HTTP request URL # @param [String] body The HTTP request body # @param [Hash] headers The HTTP request headers # @param [Boolean] debug Whether to debug the request def initialize(url:, body: nil, headers: {}, debug: false) @url = url @body = body @headers = headers @debug = debug end end end
Version data entries
17 entries across 17 versions & 1 rubygems