#!/usr/bin/env ruby # frozen_string_literal: true require "bundler/setup" require "paddle" # Load environment variables from .env file require 'dotenv/load' # 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 @client_classic = Paddle::Classic::Client.new(vendor_id: ENV["PADDLE_VENDOR_ID"], vendor_auth_code: ENV["PADDLE_VENDOR_AUTH_CODE"], sandbox: true) Paddle.configure do |config| config.environment = :sandbox config.api_key = ENV["PADDLE_API_KEY"] end require "irb" IRB.start(__FILE__)