MIT licensed
Maintained by Taylor Fausak
This version can be pinned in stack with:lackey-0.1.2@sha256:83748d49c3f780116c0b10dbe5964f2f0b220c33d97fae6b4a6bccf9b9020512,1439
Depends on 2 packages(full list with versions):

Lackey

Version badge Build badge

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

Changes

Change log

Lackey uses Semantic Versioning. The change log is available through the releases on GitHub.