Class: MuffinMan::Awd::V20240509

Inherits:
SpApiClient show all
Defined in:
lib/muffin_man/awd/v20240509.rb

Constant Summary collapse

AWD_PATH =
"/awd/2024-05-09"

Constants inherited from SpApiClient

SpApiClient::ACCESS_TOKEN_URL, SpApiClient::AWS_REGION_MAP, SpApiClient::SERVICE_NAME, SpApiClient::UNPROCESSABLE_ENTITY_STATUS_CODE

Instance Attribute Summary

Attributes inherited from SpApiClient

#access_token_cache_key, #aws_access_key_id, #aws_secret_access_key, #client_id, #client_secret, #config, #credentials, #local_var_path, #pii_data_elements, #query_params, #refresh_token, #region, #request_body, #request_type, #sandbox, #scope, #sts_iam_role_arn

Instance Method Summary collapse

Methods inherited from SpApiClient

#initialize

Constructor Details

This class inherits a constructor from MuffinMan::SpApiClient

Instance Method Details

#get_inbound_shipment(shipment_id) ⇒ Object



8
9
10
11
12
# File 'lib/muffin_man/awd/v20240509.rb', line 8

def get_inbound_shipment(shipment_id)
  @local_var_path = "#{AWD_PATH}/inboundShipments/#{shipment_id}"
  @request_type = "GET"
  call_api
end