shopify v0.1.1 Shopify.Config

Summary

Functions

Retrieves a three-element tuple for basic auth using Application config

Retrieves a key value from the configuration

Functions

basic_auth()

Retrieves a three-element tuple for basic auth using Application config.

Returns {shop_name, api_key, password}

Examples

iex> Shopify.Config.basic_auth {“my-shop-name”, “my-api-key”, “my-password”}

get(name, default \\ nil)

Retrieves a key value from the configuration.

iex> Shopify.Config.get(:shop_name) “my-shop-name”