Class: FriendlyShipping::Services::UpsFreight::LabelPickupOptions
- Inherits:
-
Object
- Object
- FriendlyShipping::Services::UpsFreight::LabelPickupOptions
- Defined in:
- lib/friendly_shipping/services/ups_freight/label_pickup_options.rb
Instance Attribute Summary collapse
-
#holiday_pickup ⇒ Object
readonly
Returns the value of attribute holiday_pickup.
-
#inside_pickup ⇒ Object
readonly
Returns the value of attribute inside_pickup.
-
#lift_gate_required ⇒ Object
readonly
Returns the value of attribute lift_gate_required.
-
#limited_access_pickup ⇒ Object
readonly
Returns the value of attribute limited_access_pickup.
-
#residential_pickup ⇒ Object
readonly
Returns the value of attribute residential_pickup.
-
#weekend_pickup ⇒ Object
readonly
Returns the value of attribute weekend_pickup.
Instance Method Summary collapse
-
#initialize(holiday_pickup: nil, inside_pickup: nil, residential_pickup: nil, weekend_pickup: nil, lift_gate_required: nil, limited_access_pickup: nil) ⇒ LabelPickupOptions
constructor
A new instance of LabelPickupOptions.
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_pickup ⇒ Object (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_pickup ⇒ Object (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_required ⇒ Object (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_pickup ⇒ Object (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_pickup ⇒ Object (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_pickup ⇒ Object (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 |