Omise.Forex (omise v0.10.0)
Provides Forex API interfaces.
Summary
Functions
Retrieve the forex.
Types
Functions
Link to this function
retrieve(currency, opts \\ [])
@spec 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")