ExDoppler.User (ExDoppler v1.0.0)

View Source

Module describing a Doppler User (not to be confused with ExDoppler.WorkplaceUser)

Fields

  • email - User's email (e.g "jane.smith@example.com")
  • name - User's name (e.g "Jane Smith")
  • profile_image_url - URL to a profile image
  • username - User's username (e.g "jsmith")

๐Ÿ“– Resources

Summary

Functions

Creates an User from a map

Functions

build(user)

Creates an User from a map

๐Ÿท๏ธ Params

  • user: Map of fields to turn into an User

โคต๏ธ Returns

โœ… On Success

  %ExDoppler.User{...}

โŒ On Failure

  raise Error