Sha256: 9d0385222935f68a912bfb5fe018e36651819a389abe59ba5915722894256f47

Contents?: true

Size: 827 Bytes

Versions: 7

Compression:

Stored size: 827 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class UpsFreight
      class LabelDeliveryOptions
        attr_reader :holiday_delivery,
                    :inside_delivery,
                    :weekend_delivery,
                    :lift_gate_required,
                    :limited_access_delivery

        def initialize(
          holiday_delivery: nil,
          inside_delivery: nil,
          weekend_delivery: nil,
          lift_gate_required: nil,
          limited_access_delivery: nil
        )
          @holiday_delivery = holiday_delivery
          @inside_delivery = inside_delivery
          @weekend_delivery = weekend_delivery
          @lift_gate_required = lift_gate_required
          @limited_access_delivery = limited_access_delivery
        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_delivery_options.rb
friendly_shipping-0.6.4 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.6.3 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.6.2 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.6.1 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.6.0 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.5.3 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb