skroutz v0.0.1 Skroutz

Summary

Functions

Returns the current configuration of the provided process

Returns the specified value from the current process config

Returns the flavor of the current process

Performs an HTTP GET request

Creates a new Skroutz process, with the provided Map

Performs an HTTP PATCH request

Performs an HTTP POST request

Performs an HTTP PUT request

Returns a memoized token or obtains one if none exists

Obtains a public token (client credentials)

Types

t :: pid

Functions

config(pid)

Returns the current configuration of the provided process

config(pid, key)

Returns the specified value from the current process config

flavor(pid)

Returns the flavor of the current process

get(client, path, params \\ %{})

Performs an HTTP GET request

new(token)

Creates a new Skroutz process, with the provided Map

patch(client, path, params \\ %{})

Performs an HTTP PATCH request

post(client, path, params \\ %{})

Performs an HTTP POST request

put(client, path, params \\ %{})

Performs an HTTP PUT request

token(pid)

Returns a memoized token or obtains one if none exists

token!(pid)

Obtains a public token (client credentials)