Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # At Start of Application
- client = AFMotion::Client.build("https://alpha-api.app.net/") do
- header "Accept", "application/json"
- response_serializer :json
- end
- # When User Object and Token Generated
- client.post("register") do |result|
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement