Sha256: 271d6682ab66c8e98b448d9a7ebede2313cab1d938bf743c6e58e976d0d563ac

Contents?: true

Size: 920 Bytes

Versions: 7

Compression:

Stored size: 920 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class UpsFreight
      class LabelPickupOptions
        attr_reader :holiday_pickup,
                    :inside_pickup,
                    :residential_pickup,
                    :weekend_pickup,
                    :lift_gate_required,
                    :limited_access_pickup

        def initialize(
          holiday_pickup: nil,
          inside_pickup: nil,
          residential_pickup: nil,
          weekend_pickup: nil,
          lift_gate_required: nil,
          limited_access_pickup: nil
        )
          @holiday_pickup = holiday_pickup
          @inside_pickup = inside_pickup
          @residential_pickup = residential_pickup
          @weekend_pickup = weekend_pickup
          @lift_gate_required = lift_gate_required
          @limited_access_pickup = limited_access_pickup
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
friendly_shipping-0.9.0 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.8.1 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.8.0 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.7.3 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.7.2 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.7.1 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.7.0 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb