Class: CzechPostB2bClient::Services::ParcelsAsyncSender
- Inherits:
-
Communicator
- Object
- SteppedService::Base
- Orchestrator
- Communicator
- CzechPostB2bClient::Services::ParcelsAsyncSender
- Defined in:
- lib/czech_post_b2b_client/services/parcels_async_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:) ⇒ ParcelsAsyncSender
constructor
A new instance of ParcelsAsyncSender.
Methods inherited from Communicator
Methods inherited from SteppedService::Base
call, #call, #errors, #failure?, #finished?, #steps, #success?
Constructor Details
#initialize(sending_data:, parcels:) ⇒ ParcelsAsyncSender
Returns a new instance of ParcelsAsyncSender.
8 9 10 11 |
# File 'lib/czech_post_b2b_client/services/parcels_async_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_async_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_async_sender.rb', line 6 def sending_data @sending_data end |