Sha256: c2c7fa8f8ed8ccf7d2b00e7a4b046c8e22dbfbb9fbbc88c1cba4890198075e43

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 Bytes

Contents

require 'pry-byebug'
require 'dotenv'
require_relative '../lib/rentvine'

Dotenv.load('../.env')

auth = {
  account_code: ENV['RENTVINE_ACCOUNT_CODE'],
  api_key: ENV['RENTVINE_API_KEY'],
  api_secret: ENV['RENTVINE_API_SECRET']
}
rv_client = Rentvine::Client.new(auth)

# =========================================
# Transaction Examples
# =========================================

rv_client.transactions.each do |transaction|
  puts transaction.description
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rentvine-0.4.0 examples/transactions.rb
rentvine-0.3.3 examples/transactions.rb
rentvine-0.3.2 examples/transactions.rb