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.
8 9 10 11 12 13 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 8 def initialize(parcel_codes:, options:, request_id: 1) super() @parcel_codes = parcel_codes @options = @request_id = request_id end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 6 def @options end |
#parcel_codes ⇒ Object (readonly)
Returns the value of attribute parcel_codes.
6 7 8 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 6 def parcel_codes @parcel_codes end |
Class Method Details
.allowed_printing_template_classes ⇒ Object
15 16 17 |
# File 'lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb', line 15 def self.allowed_printing_template_classes @allowed_printing_template_classes ||= CzechPostB2bClient::PrintingTemplates.all_classes end |