packages feed

help-esb 0.1.3 → 0.1.4

raw patch · 2 files changed

+21/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

HelpEsbClient.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings, DeriveGeneric, MultiParamTypeClasses #-}  {-| Module : HelpEsbClient@@ -66,12 +66,30 @@     -> a -- ^ The payload.     -> IO () -- ^ Any IO output. +-- | The 'EsbSendExternal' is similar to 'EsbSend', just with an option to+-- involve external resources.+class EsbSendExternal a b where+  -- | The 'esbSendExternal' method takes a socket and writes some kind of payload.+  esbSendExternal :: Socket -- ^ The socket connection.+    -> a -- ^ The payload.+    -> b -- ^ Another resource to be used, i.e. DB connection, API, etc.+    -> IO () -- ^ Any IO output.+ -- | The 'EsbRecieve' class determines how a message from the ESB should be -- recieved. class EsbRecieve a where   -- | The 'esbRecieve' method takes a socket and reads some kind of payload.   esbRecieve :: Socket -- ^ The socket connection.     -> a -- ^ The payload.+    -> IO () -- ^ Any IO output.++-- | The 'EsbRecieveExternal' is similar to 'EsbRecieve', just with an option to+-- involve external resources.+class EsbRecieveExternal a b where+  -- | The 'esbRecieveExternal' method takes a socket and reads some kind of payload.+  esbRecieveExternal :: Socket -- ^ The socket connection.+    -> a -- ^ The payload.+    -> b -- ^ Another resource to be used, i.e. DB connection, API, etc.     -> IO () -- ^ Any IO output.  -- | The 'logger' function simply logs out in a consistent way. Will be
help-esb.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                help-esb-version:             0.1.3+version:             0.1.4 synopsis:            A Haskell client for the Help.com team's ESB. description:         A Haskell client for the Help.com team's ESB. homepage:            https://github.com/helpdotcom/help-esb.hs@@ -17,7 +17,7 @@  source-repository head   type: git-  location: git://github.come/helpdotcom/help-esb.hs+  location: git://github.com/helpdotcom/help-esb.hs  library   exposed-modules:     HelpEsbClient, JSON.API.EventGroup.Post.Request, JSON.API.Event.Post.Request, JSON.Login.Request, JSON.Login.Response, JSON.Basic.Request, JSON.Basic.Response