Class: MuffinMan::Authorization::V1
- Inherits:
-
SpApiClient
- Object
- SpApiClient
- MuffinMan::Authorization::V1
- Defined in:
- lib/muffin_man/authorization/v1.rb
Constant Summary
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
Constructor Details
This class inherits a constructor from MuffinMan::SpApiClient
Instance Method Details
#get_authorization_code(selling_partner_id, developer_id, mws_auth_token) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/muffin_man/authorization/v1.rb', line 4 def (selling_partner_id, developer_id, mws_auth_token) @query_params = { "sellingPartnerId" => selling_partner_id, "developerId" => developer_id, "mwsAuthToken" => mws_auth_token } @request_type = "GET" @local_var_path = "/authorization/v1/authorizationCode" call_api end |