Class: FriendlyShipping::Services::UpsFreight::PickupRequestOptions
- Inherits:
-
Object
- Object
- FriendlyShipping::Services::UpsFreight::PickupRequestOptions
- Defined in:
- lib/friendly_shipping/services/ups_freight/pickup_request_options.rb
Instance Attribute Summary collapse
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#pickup_time_window ⇒ Object
readonly
Returns the value of attribute pickup_time_window.
-
#requester ⇒ Object
readonly
Returns the value of attribute requester.
-
#requester_email ⇒ Object
readonly
Returns the value of attribute requester_email.
-
#third_party_requester ⇒ Object
readonly
Returns the value of attribute third_party_requester.
Instance Method Summary collapse
-
#initialize(pickup_time_window:, requester:, requester_email:, comments: nil, third_party_requester: false) ⇒ PickupRequestOptions
constructor
A new instance of PickupRequestOptions.
Constructor Details
#initialize(pickup_time_window:, requester:, requester_email:, comments: nil, third_party_requester: false) ⇒ PickupRequestOptions
Returns a new instance of PickupRequestOptions.
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 13 def initialize( pickup_time_window:, requester:, requester_email:, comments: nil, third_party_requester: false ) @pickup_time_window = pickup_time_window @requester = requester @third_party_requester = third_party_requester @requester_email = requester_email @comments = comments end |
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 7 def comments @comments end |
#pickup_time_window ⇒ Object (readonly)
Returns the value of attribute pickup_time_window.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 7 def pickup_time_window @pickup_time_window end |
#requester ⇒ Object (readonly)
Returns the value of attribute requester.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 7 def requester @requester end |
#requester_email ⇒ Object (readonly)
Returns the value of attribute requester_email.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 7 def requester_email @requester_email end |
#third_party_requester ⇒ Object (readonly)
Returns the value of attribute third_party_requester.
7 8 9 |
# File 'lib/friendly_shipping/services/ups_freight/pickup_request_options.rb', line 7 def third_party_requester @third_party_requester end |