Class: DeliveryFivePostClient::Resources::API::V1::GetLabelStatuses
- Inherits:
-
Object
- Object
- DeliveryFivePostClient::Resources::API::V1::GetLabelStatuses
- Defined in:
- lib/delivery_five_post_client/resources/api/v1/get_label_statuses.rb
Instance Method Summary collapse
-
#by_sender_order_ids(sender_order_ids:, request_options: {}) ⇒ DeliveryFivePostClient::Models::API::V1::GetLabelStatusBySenderOrderIDsResponse
Проверка статуса этикетки / Check label status.
-
#initialize(client:) ⇒ GetLabelStatuses
constructor
private
A new instance of GetLabelStatuses.
Constructor Details
#initialize(client:) ⇒ GetLabelStatuses
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of GetLabelStatuses.
34 35 36 |
# File 'lib/delivery_five_post_client/resources/api/v1/get_label_statuses.rb', line 34 def initialize(client:) @client = client end |
Instance Method Details
#by_sender_order_ids(sender_order_ids:, request_options: {}) ⇒ DeliveryFivePostClient::Models::API::V1::GetLabelStatusBySenderOrderIDsResponse
Проверка статуса этикетки / Check label status
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/delivery_five_post_client/resources/api/v1/get_label_statuses.rb', line 19 def by_sender_order_ids(params) parsed, = DeliveryFivePostClient::API::V1::GetLabelStatusBySenderOrderIDsParams.dump_request(params) @client.request( method: :post, path: "api/v1/getLabelStatuses/bySenderOrderIds", body: parsed, model: DeliveryFivePostClient::Models::API::V1::GetLabelStatusBySenderOrderIDsResponse, options: ) end |