aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Conf.elm
blob: ec04622d8463f63de337661ef05ca838e48196ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Model.Conf exposing
  ( Conf
  , confDecoder
  )

import Json.Decode exposing (..)

type alias Conf =
  { currency : String
  }

confDecoder : Decoder Conf
confDecoder = object1 Conf ("currency" := string)