Sha256: b09ccad1b5f78a7c7e5fe1d6db5114a477458d5ee249c00a424ca5c73b9f768b

Contents?: true

Size: 623 Bytes

Versions: 9

Compression:

Stored size: 623 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "synapse_payments"

# 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
  @client ||= SynapsePayments::Client.new do |config|
    config.client_id = ENV['SYNAPSE_PAYMENTS_CLIENT_ID']
    config.client_secret = ENV['SYNAPSE_PAYMENTS_CLIENT_SECRET']
  end
end

def reset_client
  @client = nil
  client
  true
end

require "irb"
IRB.start

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
synapse_payments-0.6.0 bin/console
synapse_payments-0.5.0 bin/console
synapse_payments-0.4.0 bin/console
synapse_payments-0.3.1 bin/console
synapse_payments-0.3.0 bin/console
synapse_payments-0.2.1 bin/console
synapse_payments-0.2.0 bin/console
synapse_payments-0.1.1 bin/console
synapse_payments-0.1.0 bin/console