Sha256: 5c1ad1b78a4c3365f6c07b4e36dbd6208c86c835dc59d1299a323a0f1c45437e
Contents?: true
Size: 829 Bytes
Versions: 6
Compression:
Stored size: 829 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "dotenv/load" require "paysafe" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. def client Paysafe::REST::Client.new( account_number: ENV['PAYSAFE_ACCOUNT_NUMBER'], api_key: ENV['PAYSAFE_API_KEY'], api_secret: ENV['PAYSAFE_API_SECRET'] ) end def sut_client Paysafe::REST::Client.new( api_key: ENV['PAYSAFE_SUT_API_KEY'], api_secret: ENV['PAYSAFE_SUT_API_SECRET'] ) end def unity_client Paysafe::REST::Client.new( api_key: ENV['PAYSAFE_UNITY_API_KEY'], api_secret: ENV['PAYSAFE_UNITY_API_SECRET'] ) end # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start require "irb" IRB.start(__FILE__)
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
paysafe-0.15.0 | bin/console |
paysafe-0.14.0 | bin/console |
paysafe-0.13.0 | bin/console |
paysafe-0.12.0 | bin/console |
paysafe-0.11.0 | bin/console |
paysafe-0.10.0 | bin/console |