real_page 2.3.5 → 2.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.txt +4 -0
- data/Gemfile +1 -1
- data/lib/real_page/utils/snowflake_event_tracker.rb +6 -0
- data/lib/real_page/validator/move_in_report.rb +4 -2
- data/lib/real_page/validator/prospects_data.rb +2 -1
- data/lib/real_page/validator/request_errors.rb +1 -0
- data/lib/real_page/validator/request_fault.rb +2 -0
- data/lib/real_page/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 962d05d8387236a255f8f0fff3737dbefef4fbf77e659d8c29e42cc2f7790bc6
|
4
|
+
data.tar.gz: ff840760a1bf4cca6c5de287aa62f6cbae8e230149605b261630fa335b0efde0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e3815c06b588b269d78cd9e0418e15d737c509e3f4e03bff3f50ea32ecad57b3fe074c57a1d555859cc785fe0709252a4f8eead0dc24b279e77a37075adb12
|
7
|
+
data.tar.gz: 31c826347cd8315749c519f6e68c8484358933dc90780c1812146d809ba0a38af20a114b3cf75171b4060a64c34b24befa3fdc17a453bd69f807bff61063a618
|
data/CHANGELOG.txt
CHANGED
data/Gemfile
CHANGED
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in real_page.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
gem 'event_tracker', git: 'https://github.com/apartmentlist/eventing.git', glob: 'clients/ruby/event_tracker.gemspec', tag: 'rb1.
|
6
|
+
gem 'event_tracker', git: 'https://github.com/apartmentlist/eventing.git', glob: 'clients/ruby/event_tracker.gemspec', tag: 'rb1.28.0'
|
@@ -21,6 +21,8 @@ module RealPage
|
|
21
21
|
last_name_present: false,
|
22
22
|
email_present: false,
|
23
23
|
phones_count:,
|
24
|
+
unit_name:,
|
25
|
+
resident_id: nil,
|
24
26
|
error: nil
|
25
27
|
)
|
26
28
|
EventTracker.track_process_events(name: IMPORT_PMS_RESIDENT_EVENT) do |events|
|
@@ -54,6 +56,9 @@ module RealPage
|
|
54
56
|
last_name_present: last_name_present,
|
55
57
|
email_present: email_present,
|
56
58
|
phones_count: phones_count,
|
59
|
+
unit_name: unit_name,
|
60
|
+
resident_id: resident_id,
|
61
|
+
move_in_report_type: 'real_page_api',
|
57
62
|
error: error
|
58
63
|
)
|
59
64
|
)
|
@@ -93,6 +98,7 @@ module RealPage
|
|
93
98
|
contact_date: contact_date,
|
94
99
|
contact_source: contact_source,
|
95
100
|
remote_prospect_id: remote_prospect_id,
|
101
|
+
move_in_report_type: 'real_page_api',
|
96
102
|
error: error
|
97
103
|
)
|
98
104
|
)
|
@@ -38,7 +38,9 @@ module RealPage
|
|
38
38
|
first_name_present: !lease['firstname'].blank?,
|
39
39
|
last_name_present: !lease['lastname'].blank?,
|
40
40
|
email_present: !lease['email'].blank?,
|
41
|
-
phones_count: phones_count(lease)
|
41
|
+
phones_count: phones_count(lease),
|
42
|
+
unit_name: lease['unitnumber'],
|
43
|
+
resident_id: lease['residentmemberid']
|
42
44
|
)
|
43
45
|
end
|
44
46
|
end
|
@@ -67,7 +69,7 @@ module RealPage
|
|
67
69
|
|
68
70
|
def format_date(field)
|
69
71
|
return nil if field.blank?
|
70
|
-
|
72
|
+
|
71
73
|
# The date string from the response data is in the format of "6/1/2015 12:00:00 AM"
|
72
74
|
datetime_format = '%m/%d/%Y %I:%M:%S %p'
|
73
75
|
DateTime.strptime(field, datetime_format).to_time.utc
|
@@ -43,7 +43,8 @@ module RealPage
|
|
43
43
|
first_name_present: !prospect['FirstName'].blank?,
|
44
44
|
last_name_present: !prospect['LastName'].blank?,
|
45
45
|
email_present: !prospect['Email'].blank?,
|
46
|
-
phones_count: phones_count(prospect)
|
46
|
+
phones_count: phones_count(prospect),
|
47
|
+
unit_name: ''
|
47
48
|
)
|
48
49
|
end
|
49
50
|
end
|
@@ -69,6 +69,7 @@ module RealPage
|
|
69
69
|
resident_type: 'PRIMARY',
|
70
70
|
request_params: request_params,
|
71
71
|
phones_count: 0,
|
72
|
+
unit_name: '',
|
72
73
|
error: error_message
|
73
74
|
)
|
74
75
|
end
|
@@ -85,6 +86,7 @@ module RealPage
|
|
85
86
|
resident_type: 'ROOMMATE',
|
86
87
|
request_params: request_params,
|
87
88
|
phones_count: 0,
|
89
|
+
unit_name: '',
|
88
90
|
error: error_message
|
89
91
|
)
|
90
92
|
end
|
data/lib/real_page/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: real_page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Collier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -283,8 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
283
|
- !ruby/object:Gem::Version
|
284
284
|
version: '0'
|
285
285
|
requirements: []
|
286
|
-
|
287
|
-
rubygems_version: 2.7.6.2
|
286
|
+
rubygems_version: 3.1.6
|
288
287
|
signing_key:
|
289
288
|
specification_version: 4
|
290
289
|
summary: A ruby client for RealPage Exchange
|