Sha256: ba8240fe7f083bdf7ab752f14f88d620b3bdbc12949e6cf3d12547d8746f53aa

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
$:.unshift(File.join(File.dirname(__FILE__), 'spec'))

require 'multi_json'
require 'slidepay'
require 'spec_helper'

include SlidePay

SlidePay.configure(development: true)
SlidePay.api_key = ENV["api_key"]

RestClient.proxy = "http://127.0.0.1:8888"


puts "Retrieving account report with no search filters:"
puts "======================================================================"

account_report = SlidePay::AccountReport.new(14)
account_report.retrieve()

if account_report.empty?
  puts "Account report returned empty nothing."
else
  puts "Account report: "
  puts "#{account_report}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slidepay-0.0.13 scenarios/account_report_retrieve.rb
slidepay-0.0.12 scenarios/account_report_retrieve.rb