Sha256: ec3918bb98bcf8a4be652e87f35858820fcae115675fc6ba57d6c9298d562990
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 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) # ========================================= # Application Examples # ========================================= rv_client.export_applications.each do |application| puts application.application_id puts application.unit.address puts application.lease.start_date end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rentvine-0.4.0 | examples/applications.rb |
rentvine-0.3.3 | examples/applications.rb |
rentvine-0.3.2 | examples/applications.rb |