Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Account = Account {
- dropletLimit :: Integer
- email :: String
- uuid :: String
- emailVerified :: Bool
- account :: Authentication -> MonadIO m => m (Maybe Account)
Documentation
Account | |
|
account :: Authentication -> MonadIO m => m (Maybe Account) Source
Get User Information Example:
do tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN mayBeAcnt <- account $ Authentication tkn print $ show $ isJust mayBeAcnt