#!/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__)