Sha256: 5accd0265b091b7c18d28a0c43e4e472d9ef4c823ed853cc11f51ac991a3aff6

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

# frozen_string_literal: true

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

        def initialize(
          call_before_delivery: nil,
          holiday_delivery: nil,
          inside_delivery: nil,
          residential_delivery: nil,
          weekend_delivery: nil,
          lift_gate_required: nil,
          limited_access_delivery: nil
        )
          @call_before_delivery = call_before_delivery
          @holiday_delivery = holiday_delivery
          @inside_delivery = inside_delivery
          @residential_delivery = residential_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.9.0 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.8.1 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.8.0 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.7.3 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.7.2 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.7.1 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
friendly_shipping-0.7.0 lib/friendly_shipping/services/ups_freight/label_delivery_options.rb