Sha256: 7ea883fc9780babb32eab94bb8fb4dbee2d68a86bae41a5571b87aeb9b7a22a8

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative '../lib/mercadopago'

require 'minitest/autorun'

class TestPaymentMethods < Minitest::Test
  def test_method_get
    sdk = Mercadopago::SDK.new('TEST-6130770563612470-121314-d27bbd7363e64c3853f058251cf8fc6e-537031659')
    result = sdk.payment_methods.get
    assert_equal 200, result[:status]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mercadopago-sdk-2.2.1 tests/test_payment_methods.rb
mercadopago-sdk-2.2.0 tests/test_payment_methods.rb
mercadopago-sdk-2.1.0 tests/test_payment_methods.rb
mercadopago-sdk-2.0.3 tests/test_payment_methods.rb
mercadopago-sdk-2.0.2 tests/test_payment_methods.rb
mercadopago-sdk-2.0.1 tests/test_payment_methods.rb