Sha256: 5fc1337f08b25acb84ffb2f54313f0046b1ceebc2435fdd9f81a5b52d650eec6
Contents?: true
Size: 670 Bytes
Versions: 5
Compression:
Stored size: 670 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 disapprove payment item' do request = { locale: Iyzipay::Model::Locale::TR, conversationId: '123456789', paymentTransactionId: '1' } disapproval = Iyzipay::Model::Disapproval.new.create(request, @options) begin $stderr.puts disapproval.inspect rescue $stderr.puts 'oops' raise end end after :each do end end
Version data entries
5 entries across 5 versions & 3 rubygems