@hackage lackey0.1.1

Generate Ruby consumers of Servant APIs.

Lackey

Build

Lackey is a Haskell library for generating Ruby consumers of Servant APIs.

Installation

You can install Lackey by adding it to your Cabal file.

build-depends:
    lackey ==0.1.*

You can also install it manually.

cabal update
cabal install 'lackey ==0.1.*'

Please see the change log for a detailed list of changes.

Usage

Use Lackey.rubyForAPI to generate a string of Ruby source code for consuming a Servant API. For example:

type API = "things" :> Get '[JSON] [Thing]

api :: Proxy API
api = Proxy

ruby :: String
ruby = rubyForAPI api