Sha256: 113382d3cf8edf025ad819aff77682c566f1824538ba5ed569ed233a6e1bdd14

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
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.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require 'dotenv'
Dotenv.load

def client
  Paysafe::REST::Client.new do |config|
    config.account_number = ENV['OPTIMAL_PAYMENTS_ACCOUNT_NUMBER']
    config.api_key = ENV['OPTIMAL_PAYMENTS_API_KEY']
    config.api_secret = ENV['OPTIMAL_PAYMENTS_API_SECRET']
  end
end

require "irb"
IRB.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paysafe-0.4.0 bin/console