Guest User

Untitled

a guest
Mar 11th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. gateway = ActiveTiger::Gateway.new(
  2. :username => "johndoe",
  3. :password => "password"
  4. )
  5.  
  6. response = gateway.authorize(
  7. :ccnumber => "4111111111111111",
  8. :ccexp => "1010",
  9. :amount => "1.00"
  10. )
  11.  
  12. if response.approved?
  13. puts "oh hai $$$"
  14. end
Add Comment
Please, Sign In to add comment