Sha256: 66e7b705f5e61934ceaab5db2a690c6965698fcd6db7693461d211b34f5046d6

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require "gerencianet"
require_relative "../../credentials"

require "uri"
require "net/http"
require "openssl"


options = {
  client_id: CREDENTIALS::CLIENT_ID,
  client_secret: CREDENTIALS::CLIENT_SECRET,
  pix_cert: CREDENTIALS::PIX_CERT,
  sandbox: CREDENTIALS::SANDBOX
}

params = {
    chave: "sua_chave"
}

gerencianet = Gerencianet.new(options)
puts gerencianet.pix_delete_webhook(params: params)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gerencianet-1.0.2 examples/pix/webhooks/pix_delete_webhook.rb
gerencianet-1.0.0 examples/pix/webhooks/pix_delete_webhook.rb