Sha256: 68d84560c9e518ef16c429835aee12cd435d835a49ae12ede96813583a553b80

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

# coding: utf-8

require_relative 'spec_helper'

RSpec.describe 'IyziPay' do
  before :all do
    @options = IyziPay::Options.new
    @options.api_key = 'your api key'
    @options.secret_key = 'your secret key'
    @options.base_url = 'https://sandbox-api.iyzipay.com'
  end

  it 'should test api' do
    apiTest = IyziPay::Model::ApiTest.new.retrieve(@options)
    begin
      $stderr.puts apiTest.inspect
    rescue
      $stderr.puts 'oops'
      raise
    end
  end

  after :each do
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iyzipay-zebramo-1.0.37 spec/api_test_spec.rb