Sha256: 87737aca4d65acb01c4b2a0e57261dfc3de4fc7efbdf7ad872fbf92c4036494c
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 Bytes
Contents
require_relative 'base' module Amsi module Model class Property < Base date_attrs :live_date string_attrs *%i[ property_id property_name_1 property_name_2 property_addr_email live_flag ] attr_accessor *%i[ address leasing_agents manager marketing_sources remit_to_address unit_types ] alias_method :email, :property_addr_email alias_method :id, :property_id alias_method :name, :property_name_1 alias_method :name_2, :property_name_2 def live? live_flag == 'Y' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
amsi-1.0.1 | lib/amsi/model/property.rb |
amsi-1.0.0 | lib/amsi/model/property.rb |