Sha256: 9263faec4cd4e9f7355b314b3669edb53afb35be48bed38f4a3d17e7e21f9530

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

require_relative '../spec_helper'

describe 'Points' do

  before(:all) do

    @merchant_id='mhbzmkji20dhu9kq3r2i'
    @private_key='sk_0070ce5a12d948e0a0c9b5b8b7ff51ae'

    @openpay=OpenpayApi.new(@merchant_id,@private_key)
    @points=@openpay.create(:points)

  end

  after(:all) do

  end

  describe '.get' do
    it 'Card Points ' do
      point=@points.getPointsBalance('ka2fi3h6ikppavewn5ne')
      puts point.to_s
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openpay-2.0.1 test/spec/points_spec.rb