Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def initAuthRequest(email)
- data = {userInfoType: "EMAIL", userInfo: email}
- enc_data = Base64.urlsafe_encode64(data.to_json)
- response = JSON.parse self.class.post("/users/1.0/initAuthentication", body: {initAuthRequest: enc_data}).response.body
- end
Add Comment
Please, Sign In to add comment