Portability | unportable |
---|---|
Stability | unstable |
Maintainer | pbrisbin@gmail.com |
- type Email = Text
- gravatarImg :: Email -> GravatarOptions -> String
- data GravatarOptions = GravatarOptions {}
- class GravatarParam a where
- newtype Size = Size Int
- data Default
- newtype ForceDefault = ForceDefault Bool
- data Rating
- defaultOptions :: GravatarOptions
Base request
This is
because yesod is moving towards using that type in
as many places as possible. It's what you should be storing in your
database and what Yesod.Form already gives you out of an input.
Text
gravatarImg :: Email -> GravatarOptions -> StringSource
Return the avatar for the given email using the provided options
Options
class GravatarParam a whereSource
Image to show when an avatar is not available
newtype ForceDefault Source
Always show the default image