lackey: Generate Ruby consumers of Servant APIs.

[ library, mit, web ] [ Propose Tags ]
Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 2.0.0.0, 2.0.0.1, 2.0.0.2, 2.0.0.3, 2.0.0.4, 2.0.0.5, 2.0.0.6, 2.0.0.7
Change log CHANGELOG.md
Dependencies base (>=4.7 && <4.9), servant (>=0.4 && <0.5) [details]
License MIT
Author
Maintainer Taylor Fausak
Category Web
Home page https://github.com/tfausak/lackey#readme
Bug tracker https://github.com/tfausak/lackey/issues
Source repo head: git clone https://github.com/tfausak/lackey
Uploaded by fozworth at 2016-03-17T12:50:07Z
Distributions LTSHaskell:2.0.0.7, NixOS:2.0.0.7, Stackage:2.0.0.7
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 16728 total (66 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-03-17 [all 1 reports]

Readme for lackey-0.1.1

[back to package description]

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