Guest User

Untitled

a guest
Nov 24th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. def initAuthRequest(email)
  2. data = {userInfoType: "EMAIL", userInfo: email}
  3. enc_data = Base64.urlsafe_encode64(data.to_json)
  4.  
  5. response = JSON.parse self.class.post("/users/1.0/initAuthentication", body: {initAuthRequest: enc_data}).response.body
  6. end
Add Comment
Please, Sign In to add comment