Integración
Gem pathly desde GitHub — misma API /v1.
Contrato OpenAPIEmitir una clave de APICuenta Solo gratis
Obtener mi clave API (registro gratis)
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