Sha256: b062edf1c652628232da019a600cc220ca66c5978c8b8440051861881e203819

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 Bytes

Contents

# typed: true
# frozen_string_literal: true

require_relative '../lib/mercadopago'

require 'minitest/autorun'

class TestIdentificationType < Minitest::Test
  def test_method_get
    sdk = Mercadopago::SDK.new('APP_USR-558881221729581-091712-44fdc612e60e3e638775d8b4003edd51-471763966')
    sdk.request_options = Mercadopago::RequestOptions.new(corporation_id: 'abc')
    result = sdk.identification_type.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_identification_type.rb
mercadopago-sdk-2.2.0 tests/test_identification_type.rb
mercadopago-sdk-2.1.0 tests/test_identification_type.rb
mercadopago-sdk-2.0.3 tests/test_identification_type.rb
mercadopago-sdk-2.0.2 tests/test_identification_type.rb
mercadopago-sdk-2.0.1 tests/test_identification_type.rb