Ingram.Marketplace.Connection.new
You're seeing just the function
new
, go back to Ingram.Marketplace.Connection module for more information.
Specs
new() :: Tesla.Env.client()
Configure a client with a subscription key and the credentials specified in config.exs.
Returns
Tesla.Env.client
Specs
new(String.t(), String.t()) :: Tesla.Env.client()
Configure a client connection using a provided OAuth2 token as a Bearer token and subscription key.
Parameters
- subscription_key (String.t): The ID of your reseller's subscription on the API gateway that defines restrictions on your API calls.
- token (String): Bearer token
Returns
Tesla.Env.client