lackey: Generate Ruby consumers of Servant APIs.

[ library, mit, web ] [ Propose Tags ]

Lackey generates Ruby consumers of Servant APIs.


[Skip to Readme]

Modules

[Last Documentation]

  • 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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
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-18T14:35:39Z
Distributions LTSHaskell:2.0.0.7, NixOS:2.0.0.7, Stackage:2.0.0.7
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 16904 total (131 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-27 [all 2 reports]

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