Class: FriendlyShipping::Services::UpsFreight::LabelDeliveryOptions
- Inherits:
-
Object
- Object
- FriendlyShipping::Services::UpsFreight::LabelDeliveryOptions
- Defined in:
- lib/friendly_shipping/services/ups_freight/label_delivery_options.rb
Instance Attribute Summary collapse
-
#call_before_delivery ⇒ Object
readonly
Returns the value of attribute call_before_delivery.
-
#holiday_delivery ⇒ Object
readonly
Returns the value of attribute holiday_delivery.
-
#inside_delivery ⇒ Object
readonly
Returns the value of attribute inside_delivery.
-
#lift_gate_required ⇒ Object
readonly
Returns the value of attribute lift_gate_required.
-
#limited_access_delivery ⇒ Object
readonly
Returns the value of attribute limited_access_delivery.
-
#residential_delivery ⇒ Object
readonly
Returns the value of attribute residential_delivery.
-
#weekend_delivery ⇒ Object
readonly
Returns the value of attribute weekend_delivery.
Instance Method Summary collapse
-
#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) ⇒ LabelDeliveryOptions
constructor
A new instance of LabelDeliveryOptions.
Constructor Details
#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) ⇒ LabelDeliveryOptions
Returns a new instance of LabelDeliveryOptions.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 15 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 |
Instance Attribute Details
#call_before_delivery ⇒ Object (readonly)
Returns the value of attribute call_before_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def call_before_delivery @call_before_delivery end |
#holiday_delivery ⇒ Object (readonly)
Returns the value of attribute holiday_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def holiday_delivery @holiday_delivery end |
#inside_delivery ⇒ Object (readonly)
Returns the value of attribute inside_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def inside_delivery @inside_delivery 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_delivery_options.rb', line 7 def lift_gate_required @lift_gate_required end |
#limited_access_delivery ⇒ Object (readonly)
Returns the value of attribute limited_access_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def limited_access_delivery @limited_access_delivery end |
#residential_delivery ⇒ Object (readonly)
Returns the value of attribute residential_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def residential_delivery @residential_delivery end |
#weekend_delivery ⇒ Object (readonly)
Returns the value of attribute weekend_delivery.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/label_delivery_options.rb', line 7 def weekend_delivery @weekend_delivery end |