Sha256: fbe9a4d954d0ccc14c2244620dc4a2781b7ffa317d112b950bdcb87425972f17
Contents?: true
Size: 560 Bytes
Versions: 7
Compression:
Stored size: 560 Bytes
Contents
module Rentvine class Client module Applications def export_applications(args = {}) results = process_request(:get, 'screening/applications/export', params: args) return results if results.is_a?(RentvineError) results.map do |result| rvobj = Rentvine::Portfolio.new(result[:application]) rvobj.unit = Rentvine::Unit.new(result[:unit]) rvobj.lease = Rentvine::Lease.new(result[:lease]) rvobj.meta = { appends: [:unit, :lease] } rvobj end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems