Skip to content

Instantly share code, notes, and snippets.

@chexton
Created November 8, 2013 02:57
Show Gist options
  • Save chexton/7365574 to your computer and use it in GitHub Desktop.
Save chexton/7365574 to your computer and use it in GitHub Desktop.
ambassador
email = 'christopher@getvero.com'
begin
url = "https://getambassador.com/api/v2/getvero/UPDATE/json/ambassador/get"
data = {
email: email,
email_new_ambassador: 0
}
response = RestClient.post url, data
rescue => e
puts e.response
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment