Class: FriendlyShipping::Services::UpsFreight::LabelPickupOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/friendly_shipping/services/ups_freight/label_pickup_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(holiday_pickup: nil, inside_pickup: nil, residential_pickup: nil, weekend_pickup: nil, lift_gate_required: nil, limited_access_pickup: nil) ⇒ LabelPickupOptions

Returns a new instance of LabelPickupOptions.



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 14

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

Instance Attribute Details

#holiday_pickupObject (readonly)

Returns the value of attribute holiday_pickup.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def holiday_pickup
  @holiday_pickup
end

#inside_pickupObject (readonly)

Returns the value of attribute inside_pickup.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def inside_pickup
  @inside_pickup
end

#lift_gate_requiredObject (readonly)

Returns the value of attribute lift_gate_required.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def lift_gate_required
  @lift_gate_required
end

#limited_access_pickupObject (readonly)

Returns the value of attribute limited_access_pickup.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def limited_access_pickup
  @limited_access_pickup
end

#residential_pickupObject (readonly)

Returns the value of attribute residential_pickup.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def residential_pickup
  @residential_pickup
end

#weekend_pickupObject (readonly)

Returns the value of attribute weekend_pickup.



7
8
9
# File 'lib/friendly_shipping/services/ups_freight/label_pickup_options.rb', line 7

def weekend_pickup
  @weekend_pickup
end