Sha256: e4bf150451fe3290d7e850c7b5e532f83d75899859670054d5bcba4e4d5d6827

Contents?: true

Size: 749 Bytes

Versions: 14

Compression:

Stored size: 749 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class UpsFreight
      class PickupRequestOptions
        attr_reader :pickup_time_window,
                    :requester,
                    :third_party_requester,
                    :requester_email,
                    :comments

        def initialize(
          pickup_time_window:,
          requester:,
          requester_email:,
          comments: nil,
          third_party_requester: false
        )
          @pickup_time_window = pickup_time_window
          @requester = requester
          @third_party_requester = third_party_requester
          @requester_email = requester_email
          @comments = comments
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
friendly_shipping-0.9.0 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.8.1 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.8.0 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.7.3 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.7.2 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.7.1 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.7.0 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.5 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.4 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.3 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.2 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.1 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.6.0 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
friendly_shipping-0.5.3 lib/friendly_shipping/services/ups_freight/pickup_request_options.rb