Skip to main content

Configuration

  • Initialize the Client: Set up the client by providing your ChargeOver API URL, API key, and API secret.
require 'chargeover_ruby'

api_url = "https://your-chargeover-url.com"
api_key = "your_api_key"
api_secret = "your_api_secret"

client = ChargeOver::Client.new(api_url, api_key, api_secret)

Replace your_api_key and your_api_secret with your actual ChargeOver API credentials, and ensure the api_url is your ChargeOver instance.