Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 24.times do |n|
- response = user.getOneAuthResultReuqest(authRef)
- response_status = response['status']
- if %w|APPROVED CANCELED EXPIRED FAILED|.include?(response_status)
- @response_status = response_status
- break
- end
- sleep 5
- end
Add Comment
Please, Sign In to add comment