Sha256: 44e968a5a5151ef146cf737cf68905b0da7ebb09b89d46b33fc1be85a63570f7
Contents?: true
Size: 693 Bytes
Versions: 19
Compression:
Stored size: 693 Bytes
Contents
#!/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__)
Version data entries
19 entries across 19 versions & 1 rubygems