Sha256: c3b1db2681fece0c9de2852676b5122c35c9621bca4a91101c8c75fef4eeb468
Contents?: true
Size: 404 Bytes
Versions: 4
Compression:
Stored size: 404 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"] ar = ApiResource.new() ar.url_root = "company" ar.id_attribute = "company_id" ar['company_id'] = 18 ar.retrieve() puts "Company: #{ar}"
Version data entries
4 entries across 4 versions & 1 rubygems