Copyright | (C) 2017- Mark Andrus Roberts |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Mark Andrus Roberts <markandrusroberts@gmail.com> |
Stability | provisional |
Safe Haskell | None |
Language | Haskell98 |
Twilio.Applications
Contents
Description
- data Applications = Applications {}
- get :: MonadThrow m => TwilioT m Applications
Resource
data Applications #
Constructors
Applications | |
Instances
Eq Applications # | |
Show Applications # | |
FromJSON Applications # | |
Get0 Applications # | |
List Applications Application # | |
get :: MonadThrow m => TwilioT m Applications #
Get the Applications
for your account.
For example, you can fetch the Applications
resource in the IO
monad as follows:
module Main where import Control.Monad.IO.Class (liftIO) import System.Environment (getEnv) import Twilio.Applications as Applications import Twilio.Types -- | Print applications. main :: IO () main = runTwilio' (getEnv "ACCOUNT_SID") (getEnv "AUTH_TOKEN") $ Applications.get >>= liftIO . print