Sha256: 25a2ce7c9765a4d2ef10797298c777d17eda701dc30448b60ce10b6b51fdeed3
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true module TopsConnect module Owners # Method: GET # Endpoint: Owner_Get def owner(owner_id) get "/owner/#{owner_id.to_i}" end # Method: GET # Endpoint: Owner_GetList def owners(property_id = nil) parameters = {} parameters['PropertyKey'] = property_id.to_i if property_id get '/owner', parameters end # Method: GET # Endpoint: Balance_Get def balance(owner_id) get "/balance/#{owner_id.to_i}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tops_connect-0.1.2 | lib/tops_connect/owners.rb |
tops_connect-0.1.1 | lib/tops_connect/owners.rb |
tops_connect-0.1.0 | lib/tops_connect/owners.rb |