A simple wrapper for Storebrand REST API.
Package can be installed by adding storebrand
to your list of dependencies in mix.exs
:
def deps do
[{:storebrand, "~> 0.1"}]
end
Copy your push service credentials from Bluemix UI, to application config file:
config :storebrand, Storebrand,
url: "https://b2b.storebrand.no/helseapp/fdc"
Check the test
folder for usage examples.
{:ok, response} = Storebrand.policy_status("XXXXXXXX", [ firstname: "First Name", lastname: "Last Name", dateOfBirth: "01.01.1991" ])
This library was designed for an internal usage