digitalocean-kzs-0.1.0.0: digitalocean api for haskell

Safe HaskellNone
LanguageHaskell2010

DigitalOcean.Account

Synopsis

Documentation

account :: Authentication -> MonadIO m => m (Maybe Account) Source

Get User Information >>> :{ do tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN mayBeAcnt <- account $ Authentication tkn print $ show $ isJust mayBeAcnt :} True