Sha256: f5cf7b5fa2063100bc643202cd34b21b6d58febefafa4ba7c2600bb3169532f0

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

require 'test/unit'
require 'postfinancecheckout-ruby-sdk'

class TestConditionTypeAll < Test::Unit::TestCase

  def test_condition_type_all
    
    app_user_id = 512
    app_user_key = "FKrO76r5VwJtBrqZawBspljbBNOxp5veKQQkOnZxucQ="
    
    PostFinanceCheckout.configure do |config|
      config.user_id = app_user_id
      config.authentication_key = app_user_key
      config.default_headers = {"x-meta-header-ruby": 'value', "x-meta-header-ruby-2": 'value2'}
      config.timeout = 60
    end

    condition_type_service = PostFinanceCheckout::ConditionTypeService.new

    condition_types, status_code = condition_type_service.all_with_http_info()
    assert_equal(200, status_code)
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postfinancecheckout-ruby-sdk-4.4.0 test/condition_type_service_test.rb
postfinancecheckout-ruby-sdk-4.2.0 test/condition_type_service_test.rb
postfinancecheckout-ruby-sdk-3.3.0 test/condition_type_service_test.rb