Sha256: b44f28beb0945c6ca216cc2115c7ad2d5f9c0baa9ce282056523efeecf4e32e7

Contents?: true

Size: 777 Bytes

Versions: 4

Compression:

Stored size: 777 Bytes

Contents

require_relative 'base'

module RealPage
  module Model
    # A container for a lease as represented by RealPage.
    class Lease < Base
      date_attrs *%i[begin_date end_date move_in_date]

      string_attrs *%i[
        email
        first_name
        guest_card_id
        id
        last_name
        middle_name
        resident_household_id
        resident_member_id
        phone_1
        phone_2
        phone_ext_1
        phone_ext_2
        term_id
        type
        unit_id
        unit_number
        import_resident_id
      ]

      # Possible values for leasetype, provided as a convenience
      module Type
        FIRST_LEASE = 'First Lease'.freeze
        RENEWAL = 'Renewal'.freeze
        TRANSFER = 'Transfer'.freeze
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
real_page-2.3.6 lib/real_page/model/lease.rb
real_page-2.3.5 lib/real_page/model/lease.rb
real_page-2.3.4 lib/real_page/model/lease.rb
real_page-2.3.3 lib/real_page/model/lease.rb