git.iko.soy/typeable/mandrill
on master help sign in
add typesigs
commit7dd7ba66efa3d6d6aa45c06ff5e4b54af3b54a3e authorMark Wotton <mwotton@gmail.com> dateMon 25 Apr 2016, 17:02 (10 years ago) parent22f751a
2 files changed+2−6
src/Network/API/Mandrill/Inbound.hs−4 test/Online.hs+2−2
src/Network/API/Mandrill/Inbound.hs−4
@@ -55,10 +55,6 @@ data RouteAddRq =
5555makeLenses ''RouteAddRq
5656deriveJSON defaultOptions { fieldLabelModifier = drop 6 } ''RouteAddRq
5757
58−
59−
60−
61−
6258addDomain :: MandrillKey
6359 -- ^ The API key
6460 -> Text
test/Online.hs+2−2
@@ -55,14 +55,14 @@ testOnlineMessagesSend k = do
5555--
5656-- Inbound calls
5757--
58−
58+testOnlineDomainAdd :: MandrillKey -> Assertion
5959testOnlineDomainAdd k = do
6060 res <- API.addDomain k "foobar.com" Nothing
6161 case res of
6262 MandrillSuccess a -> print a
6363 MandrillFailure e -> fail $ "inbound/add-domain.json " ++ show e
6464
65−
65+testOnlineRouteAdd :: MandrillKey -> Assertion
6666testOnlineRouteAdd k = do
6767 res <- API.addRoute k "foobar.com" "mail-*" "http://requestb.in/19a4frw1" Nothing
6868 case res of