Sha256: f327e01c91e791e2ffcacbfcd600d25d1de2c5ab817a2da7bc36fa9f79de992c

Contents?: true

Size: 280 Bytes

Versions: 14

Compression:

Stored size: 280 Bytes

Contents

require "gerencianet"
require_relative "./credentials"

options = {
  client_id: CREDENTIALS::CLIENT_ID,
  client_secret: CREDENTIALS::CLIENT_SECRET,
  sandbox: true
}

params = {
  id: 2363
}

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gerencianet-0.0.15 examples/cancel_charge.rb
gerencianet-0.0.14 examples/cancel_charge.rb
gerencianet-0.0.13 examples/cancel_charge.rb
gerencianet-0.0.12 examples/cancel_charge.rb
gerencianet-0.0.11 examples/cancel_charge.rb
gerencianet-0.0.10 examples/cancel_charge.rb
gerencianet-0.0.9 examples/cancel_charge.rb
gerencianet-0.0.8 examples/cancel_charge.rb
gerencianet-0.0.7 docs/examples/cancel_charge.rb
gerencianet-0.0.6 docs/examples/cancel_charge.rb
gerencianet-0.0.5 docs/examples/cancel_charge.rb
gerencianet-0.0.4 docs/examples/cancel_charge.rb
gerencianet-0.0.3 docs/examples/cancel_charge.rb
gerencianet-0.0.2 docs/examples/cancel_charge.rb