neuron v0.1.1 Neuron.Config

Allows to interact with your graphql configuration.

Summary

Functions

gets url configuration value for Neuron

sets global configuration values for Neuron

Functions

get(atom)

gets url configuration value for Neuron

iex>Neuron.Config.set(url: "http://example.com/graph"); Neuron.Config.get(:url)
"http://example.com/graph"
set(value)

sets global configuration values for Neuron

iex> Neuron.Config.set(url: "http://example.com/graph")
:ok