Sha256: a22c40deafa04747d24c965c37d31945652fa745d45d783ea458ef0479c83839

Contents?: true

Size: 793 Bytes

Versions: 7

Compression:

Stored size: 793 Bytes

Contents

# frozen_string_literal: true

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

        def initialize(
          holiday_pickup: nil,
          inside_pickup: nil,
          weekend_pickup: nil,
          lift_gate_required: nil,
          limited_access_pickup: nil
        )
          @holiday_pickup = holiday_pickup
          @inside_pickup = inside_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.6.5 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.6.4 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.6.3 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.6.2 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.6.1 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.6.0 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
friendly_shipping-0.5.3 lib/friendly_shipping/services/ups_freight/label_pickup_options.rb