require "gerencianet" require_relative "./credentials" options = { client_id: CREDENTIALS::CLIENT_ID, client_secret: CREDENTIALS::CLIENT_SECRET, sandbox: true } params = { id: 1111 } gerencianet = Gerencianet.new(options) puts gerencianet.cancel_subscription(params: params)