Cloudsight API v0.4.0 CloudsightElixir.OAuth1Client

Link to this section Summary

Functions

Creates a new client with your authentication information that will be passed to all future methods

Link to this section Types

Link to this type credentials()
credentials() :: OAuther.Credentials.t()
Link to this type endpoint()
endpoint() :: binary()
Link to this type t()
t() :: %CloudsightElixir.OAuth1Client{
  credentials: credentials(),
  endpoint: endpoint()
}

Link to this section Functions

Link to this function new(map)
new(map()) :: t()

Creates a new client with your authentication information that will be passed to all future methods

Examples

iex> CloudsightElixir.OAuth1Client.new(%{consumer_key: "abcd123", consumer_secret: "asdfasdf"})
%CloudsightElixir.OAuth1Client{credentials: %OAuther.Credentials{consumer_key: "abcd123", consumer_secret: "asdfasdf"}, endpoint: "https://api.cloudsight.ai"}