Sha256: 67ee0fe149bcb27200fb24226b34e45129920b8f66bbe792424d08eaafa346f6
Contents?: true
Size: 757 Bytes
Versions: 4
Compression:
Stored size: 757 Bytes
Contents
# frozen_string_literal: true module TopsConnect class Property < Base def property_key data['PropertyKey'] end alias id property_key def account_number data['AccountNumber'] end def address "#{data['AddressNumber']} #{data['Street']}" end def city data['City'] end def state data['State'] end def address_number data['AddressNumber'] end def street data['Street'] end def zip data['Zip'] end def community_key data['CommunityKey'] end def updated_at return unless data['Metadata']['ModifiedDate'] DateTime.parse data['Metadata']['ModifiedDate'] end alias modified_date updated_at end end
Version data entries
4 entries across 4 versions & 1 rubygems