lackey: Generate Ruby consumers of Servant APIs.

[ library, mit, web ] [ Propose Tags ]

Lackey generates Ruby consumers of Servant APIs.


[Skip to Readme]
Versions 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
Change log CHANGELOG.md
Dependencies base (>=4.7 && <4.9), servant (==0.4.*) [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 Fri Mar 18 14:35:39 UTC 2016
Distributions LTSHaskell:1.0.5, NixOS:1.0.5
Downloads 3298 total (37 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-27 [all 2 reports]
Hackage Matrix CI

Modules

  • Lackey
    • Lackey.Internal
      • Lackey.Internal.Endpoint
      • Lackey.Internal.HasCode
      • Lackey.Internal.HasRuby
      • Lackey.Internal.Header
      • Lackey.Internal.MatrixItem
      • Lackey.Internal.Method
      • Lackey.Internal.PathSegment
      • Lackey.Internal.QueryItem

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for lackey-0.1.2

[back to package description]

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