Class: CzechPostB2bClient::RequestBuilders::GetParcelsPrintingBuilder
- Inherits:
-
BaseBuilder
- Object
- SteppedService::Base
- BaseBuilder
- CzechPostB2bClient::RequestBuilders::GetParcelsPrintingBuilder
- Defined in:
- lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb
Constant Summary
Constants inherited from BaseBuilder
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#parcel_codes ⇒ Object
readonly
Returns the value of attribute parcel_codes.
Attributes inherited from BaseBuilder
Attributes inherited from SteppedService::Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parcel_codes:, options:, request_id: 1) ⇒ GetParcelsPrintingBuilder
constructor
A new instance of GetParcelsPrintingBuilder.
Methods inherited from BaseBuilder
Methods inherited from SteppedService::Base
call, #call, #errors, #failure?, #finished?, #steps, #success?
Constructor Details
#initialize(parcel_codes:, options:, request_id: 1) ⇒ GetParcelsPrintingBuilder
Returns a new instance of GetParcelsPrintingBuilder.
10 11 12 13 14 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 10 def initialize(parcel_codes:, options:, request_id: 1) @parcel_codes = parcel_codes @options = @request_id = request_id end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 8 def @options end |
#parcel_codes ⇒ Object (readonly)
Returns the value of attribute parcel_codes.
8 9 10 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 8 def parcel_codes @parcel_codes end |
Class Method Details
.allowed_printing_template_classes ⇒ Object
16 17 18 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 16 def self.allowed_printing_template_classes @allowed_printing_template_classes ||= CzechPostB2bClient::PrintingTemplates.all_classes end |