Black Friday en 1 día: ¿podrán pagar sus clientes? -25 % el primer año y puesta en marcha gratuita, hasta el 30 de noviembreVer la oferta →
Integración
Gem pathly desde GitHub — misma API /v1.
Obtener mi clave de APIContrato OpenAPI
Documento completo, sin autenticación, listo para su generador de clientes.
Gem pathly (repo GitHub pathlyhq/pathly-sdk-ruby). Misma superficie API. Código ya público.
Gemfile + create
# Gemfile
gem "pathly", git: "https://github.com/pathlyhq/pathly-sdk-ruby.git", tag: "v0.1.0"
# shell
export PATHLY_API_TOKEN=sp_…
bundle install
# app.rb
require "pathly"
client = Pathly::Client.new
scenario = client.create_scenario(
name: "Checkout",
url: "https://www.example.com/cart",
interval_sec: 300,
)
puts scenario.id