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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8295c58abc8cb5cb8ad03bc4ce2eaa451f96dcac6ae0b477961d3dcd1b80c5a7
4
- data.tar.gz: 5f7d93bc2b15bdaab91b6f000a5e751ad63c67b10a41257b226c9a41d72886aa
3
+ metadata.gz: 962d05d8387236a255f8f0fff3737dbefef4fbf77e659d8c29e42cc2f7790bc6
4
+ data.tar.gz: ff840760a1bf4cca6c5de287aa62f6cbae8e230149605b261630fa335b0efde0
5
5
  SHA512:
6
- metadata.gz: b1dcbf414fe53a48900aab3b054ce74f5acf6674581f2ad2d0a3bbff328688f458b439c1f33f27040829ff7f2360e808be38281ea8d785ea1c0ba18df3e23d83
7
- data.tar.gz: a8c3174d6676f26f9808d463f790e57784247e1edf13a4b48ab11833d947ea75f4a98789b86a8a62b349f2695f26bc865d9994b9bd06b8abaf82f2755602db6e
6
+ metadata.gz: 93e3815c06b588b269d78cd9e0418e15d737c509e3f4e03bff3f50ea32ecad57b3fe074c57a1d555859cc785fe0709252a4f8eead0dc24b279e77a37075adb12
7
+ data.tar.gz: 31c826347cd8315749c519f6e68c8484358933dc90780c1812146d809ba0a38af20a114b3cf75171b4060a64c34b24befa3fdc17a453bd69f807bff61063a618
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,7 @@
1
+ Version 2.3.6, 2021-06-23
2
+ -------------------------
3
+ Update eventing gem: add unit_name, resident_id, move_in_report_type
4
+
1
5
  Version 2.3.5, 2021-05-04
2
6
  -------------------------
3
7
  Add import_resident_id to prospect model
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.21.0'
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
@@ -88,6 +88,7 @@ module RealPage
88
88
  resident_type: 'PRIMARY',
89
89
  request_params: request_params,
90
90
  phones_count: 0,
91
+ unit_name: '',
91
92
  error: error_messages
92
93
  )
93
94
  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
@@ -1,3 +1,3 @@
1
1
  module RealPage
2
- VERSION = '2.3.5'
2
+ VERSION = '2.3.6'
3
3
  end
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.5
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-05-04 00:00:00.000000000 Z
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
- rubyforge_project:
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