Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Applications = Applications {}
- get :: MonadThrow m => TwilioT m Applications
Resource
data Applications Source #
get :: MonadThrow m => TwilioT m Applications Source #
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