lackey-0.1.1: Generate Ruby consumers of Servant APIs.

Safe HaskellNone
LanguageHaskell2010

Lackey.Internal.HasCode

Documentation

class HasCode a where Source

Associated Types

type Ruby a Source

Methods

codeFor :: Proxy a -> Endpoint -> Ruby a Source

Instances

HasCode Raw Source 
(HasCode a, HasCode b) => HasCode ((:<|>) a b) Source 
HasCode (Get a b) Source 
HasCode (Post a b) Source 
HasCode (Delete a b) Source 
HasCode (Put a b) Source 
HasCode (Patch a b) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (Capture * s a) b) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (Header s a) b) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (QueryParam * s a) b) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (QueryParams * s a) b) Source 
(KnownSymbol s, HasCode a) => HasCode ((:>) * * (QueryFlag s) a) Source 
HasCode c => HasCode ((:>) * * (ReqBody * a b) c) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (MatrixParam * s a) b) Source 
(KnownSymbol s, HasCode b) => HasCode ((:>) * * (MatrixParams * s a) b) Source 
(KnownSymbol s, HasCode a) => HasCode ((:>) * * (MatrixFlag s) a) Source 
(KnownSymbol s, HasCode a) => HasCode ((:>) Symbol * s a) Source