Tiger.Client (tiger v0.1.1)

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

Link to this section Functions

Link to this function

default_adapter()

Default adapter to be used for making requests.

Default URL for communicating with Stripe

Create a new Tesla.Client

Parameters

Link to this function

new(config, url)

Create a new Tesla.Client

Parameters

  • secrets is %Config{} struct
  • url allows 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

  • secrets is %Config{} struct
  • url allows you to override the URL where requests will be sent. Useful for testing
  • adapter Allows you to use a different Tesla.Adapter to the default which is Tesla.Adapter.Gun