Sha256: 6255dd731966a46ed1dcbbbf7dc9ac7ec4a39f395903ce81d574e9687e6a529c

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

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

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)

# =========================================
# Vendor Examples
# =========================================

rv_client.vendors.each do |vendor|
  puts vendor.name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rentvine-0.3.1 examples/vendors.rb
rentvine-0.3.0 examples/vendors.rb
rentvine-0.2.0 examples/vendors.rb
rentvine-0.1.0 examples/vendors.rb