Class: CzechPostB2bClient::Services::ParcelsSender
- Inherits:
-
Communicator
- Object
- SteppedService::Base
- Orchestrator
- Communicator
- CzechPostB2bClient::Services::ParcelsSender
- Defined in:
- lib/czech_post_b2b_client/services/parcels_sender.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#parcels ⇒ Object
readonly
Returns the value of attribute parcels.
-
#sending_data ⇒ Object
readonly
Returns the value of attribute sending_data.
Attributes inherited from SteppedService::Base
Instance Method Summary collapse
-
#initialize(sending_data:, parcels:) ⇒ ParcelsSender
constructor
A new instance of ParcelsSender.
Methods inherited from Communicator
Methods inherited from SteppedService::Base
call, #call, #errors, #failure?, #finished?, #steps, #success?
Constructor Details
#initialize(sending_data:, parcels:) ⇒ ParcelsSender
Returns a new instance of ParcelsSender
8 9 10 11 |
# File 'lib/czech_post_b2b_client/services/parcels_sender.rb', line 8 def initialize(sending_data:, parcels:) @sending_data = sending_data @parcels = parcels end |
Instance Attribute Details
#parcels ⇒ Object (readonly)
Returns the value of attribute parcels
6 7 8 |
# File 'lib/czech_post_b2b_client/services/parcels_sender.rb', line 6 def parcels @parcels end |
#sending_data ⇒ Object (readonly)
Returns the value of attribute sending_data
6 7 8 |
# File 'lib/czech_post_b2b_client/services/parcels_sender.rb', line 6 def sending_data @sending_data end |