omise v0.6.0 Omise.Forex
Provides Forex API interfaces.
Link to this section Summary
Functions
Retrieve the forex
Link to this section Types
Link to this section Functions
Link to this function
retrieve(currency, opts \\ [])
retrieve(String.t(), Keyword.t()) :: {:ok, t()} | {:error, Omise.Error.t()}
Retrieve the forex.
Returns {:ok, forex}
if the request is successful, {:error, error}
otherwise.
Examples
Omise.Forex.retrieve("usd")
Omise.Forex.retrieve("jpy")
Omise.Forex.retrieve("sgd")