mailgun-0.2: API binding for Mailgun

Safe HaskellNone
LanguageHaskell2010

Network.Mail.Mailgun.Domains

Documentation

data SpamAction Source #

Instances
Eq SpamAction Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Ord SpamAction Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Show SpamAction Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

FromJSON SpamAction Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Methods

parseJSON :: Value -> Parser SpamAction

parseJSONList :: Value -> Parser [SpamAction]

ToJSON SpamAction Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Methods

toJSON :: SpamAction -> Value

toEncoding :: SpamAction -> Encoding

toJSONList :: [SpamAction] -> Value

toEncodingList :: [SpamAction] -> Encoding

data DomainType Source #

Instances
Eq DomainType Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Ord DomainType Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Show DomainType Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

FromJSON DomainType Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Methods

parseJSON :: Value -> Parser DomainType

parseJSONList :: Value -> Parser [DomainType]

ToJSON DomainType Source # 
Instance details

Defined in Network.Mail.Mailgun.Domains

Methods

toJSON :: DomainType -> Value

toEncoding :: DomainType -> Encoding

toJSONList :: [DomainType] -> Value

toEncodingList :: [DomainType] -> Encoding

getDomains :: (HasMailgunConfig c, MonadIO m, MonadThrow m, MonadReader c m) => SourceT m Domain Source #