exgrid v1.0.0 ExGrid.Profile

Link to this section Summary

Link to this section Functions

Link to this function get(credentials)
Link to this function set(credentials, profile_attributes)

Edit profile settings.

  • profile settings must be a Map

Possible settings

first_name Your first name
last_name Your last name
address Company address
city City where your company is located            
state State where your company is located
country Country where your company is located
zip Zipcode where your company is located        
phone Valid phone number where we can reach you
website  Company website

Examples

iex> ExGrid.Profile.set(creds, %{ first_name: “Bob”, last_name: “Dobalina” })

{ 200, #HashDict<[{“message”, “success”}]>}