Sha256: 5614d67abb9d2f9d234dd9bd0e95c18170b2d0745f1eefbb40918a1e8a0f1896
Contents?: true
Size: 682 Bytes
Versions: 10
Compression:
Stored size: 682 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 fingerprint ENV['SYNAPSE_PAYMENTS_FINGERPRINT'] end def reset_client @client = nil client true end require "irb" IRB.start
Version data entries
10 entries across 10 versions & 1 rubygems