Sha256: 3ebb23988846ebf963a29259ac5e7549b9433648d1edf3400efeeef45c51af07
Contents?: true
Size: 441 Bytes
Versions: 3
Compression:
Stored size: 441 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) # ========================================= # Account Examples # ========================================= rv_client.accounts.each do |account| puts account.name end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rentvine-0.4.0 | examples/accounts.rb |
rentvine-0.3.3 | examples/accounts.rb |
rentvine-0.3.2 | examples/accounts.rb |