Tiger.Client (tiger v0.3.0)
Used for building a Tesla client for use with the Stripe API
Link to this section Summary
Functions
Default adapter to be used for making requests.
Default URL for communicating with Stripe
Create a new Tesla.Client
Create a new Tesla.Client
Create a new Tesla.Client
Link to this section Functions
Link to this function
default_adapter()
Default adapter to be used for making requests.
Link to this function
default_url()
Default URL for communicating with Stripe
Link to this function
new(config)
Create a new Tesla.Client
Parameters
configis%Config{}struct
Link to this function
new(config, url)
Create a new Tesla.Client
Parameters
secretsis%Config{}structurlallows you to override the URL where requests will be sent. Useful for testing
Link to this function
new(config, url, adapter)
Create a new Tesla.Client
Parameters
secretsis%Config{}structurlallows you to override the URL where requests will be sent. Useful for testingadapterAllows you to use a differentTesla.Adapterto the default which isTesla.Adapter.Gun