realogy 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,308 @@
1
1
  class Realogy::Office < Realogy::Entity
2
+
3
+ # addlLanguageNames : [Hash]
4
+ # A collection of office names in other languages (non-English)",
5
+
6
+ def addl_language_names
7
+ self.dig_for_array("addlLanguageNames")
8
+ end
9
+
10
+ # addlPhoneNumbers : [Hash]
11
+ # Array of additional phone numbers associated with the office
12
+
13
+ def addl_phone_numbers
14
+ self.dig_for_array("addlPhoneNumbers")
15
+ end
16
+
17
+ # addlWebSites : [Hash]
18
+ # A collection of websites associated with the Office
19
+
20
+ def addl_websites
21
+ self.dig_for_array("addlWebSites")
22
+ end
23
+
24
+ # areaServed : [Hash]
25
+ # Collection of areas served by the office
26
+
27
+ def area_served
28
+ self.dig_for_array("areaServed")
29
+ end
30
+
31
+ # brandCode : String
32
+ # The Franchise that the Office is part of
33
+
34
+ def brand_code
35
+ self.dig_for_string("officeSummary", "brandCode")
36
+ end
37
+
38
+ # brokerName : String
39
+ # Name of the Broker of the Office
40
+
41
+ def broker_name
42
+ self.dig_for_string("brokerName")
43
+ end
44
+
45
+ # city : String
46
+ # City
47
+
48
+ def city
49
+ self.dig_for_string("officeSummary", "officeAddress", "city")
50
+ end
51
+
52
+ # companyId : String
53
+ # Globally unique identifier assigned to a company by Realogy"
54
+
55
+ def company_id
56
+ self.dig_for_string("officeSummary", "companyId")
57
+ end
58
+
59
+ # companyName : String
60
+ # Name of the Company
61
+
62
+ def company_name
63
+ self.dig_for_string("officeSummary", "companyName")
64
+ end
65
+
66
+ # country : String
67
+ # Country
68
+
69
+ def country
70
+ self.dig_for_string("officeSummary", "officeAddress", "country")
71
+ end
72
+
73
+ # countryCode : String
74
+ # ISO Code of the country
75
+
76
+ def country_code
77
+ self.dig_for_string("officeSummary", "officeAddress", "countryCode")
78
+ end
79
+
80
+ # defaultPhotoURL : String
81
+ # URL for the default photo associated with the Office
82
+
83
+ def default_photo_url
84
+ self.dig_for_string("defaultPhotoURL")
85
+ end
86
+
87
+ # district : String
88
+ # Subdivision name in the country or region for the address. In USA it's same as County.
89
+
90
+ def district
91
+ self.dig_for_string("officeSummary", "officeAddress", "district")
92
+ end
93
+
94
+ # emailAddress : String
95
+ # description": "Main contact email address for the office
96
+
97
+ def email_address
98
+ self.dig_for_string("officeSummary", "emailAddress")
99
+ end
100
+
101
+ # entityPreference : [Hash]
102
+ # Array of entityPreference associated with the office
103
+
104
+ def entity_preference
105
+ self.dig_for_array("entityPreference")
106
+ end
107
+
108
+ # faxNumber : String
109
+ # Fax number for the office
110
+
111
+ def fax_number
112
+ self.dig_for_string("officeSummary", "faxNumber")
113
+ end
114
+
115
+ # formattedAddress : String
116
+ # Formatted address for display purpose
117
+
118
+ def formatted_address
119
+ self.dig_for_string("officeSummary", "officeAddress", "formattedAddress")
120
+ end
121
+
122
+ # geographicRegions : Array
123
+ # A collection of geographic regions associated with the Office location
124
+
125
+ def geographic_regions
126
+ self.dig_for_array("geographicRegions")
127
+ end
128
+
129
+ # languagesSpoken : Array
130
+ # A collection of languages spoken by Agents that work out of the office
131
+
132
+ def languages_spoken
133
+ self.dig_for_array("languagesSpoken")
134
+ end
135
+
136
+ # lastUpdateOn : DateTime
137
+ # The date/time that the Office record was last updated in the system (UTC)
138
+
139
+ def last_update_on
140
+ self.dig_for_datetime("lastUpdateOn")
141
+ end
142
+
143
+ # latitude : Decimal
144
+ # Latitude of a location
145
+
146
+ def latitude
147
+ self.dig_for_decimal("officeSummary", "officeAddress", "latitude")
148
+ end
149
+
150
+ # leadEmailAddress : String
151
+ # Email address to send any leads generated for the Office
152
+
153
+ def lead_email_address
154
+ self.dig_for_string("leadEmailAddress")
155
+ end
156
+
157
+ # longitude : Decimal
158
+ # Longitude of a location
159
+
160
+ def longitude
161
+ self.dig_for_decimal("officeSummary", "officeAddress", "longitude")
162
+ end
163
+
164
+ # media : [Hash]
165
+
166
+ def media
167
+ self.dig_for_array("media")
168
+ end
169
+
170
+ # mlsInformation : Array
171
+ # A collection of MLS numbers associated with an Office
172
+
173
+ def mls_information
174
+ self.dig_for_array("mlsInformation")
175
+ end
176
+
177
+ # name : String
178
+ # Name of the office
179
+
180
+ def name
181
+ self.dig_for_string("officeSummary", "name")
182
+ end
183
+
184
+ # officeAddress : Hash
185
+
186
+ def office_address
187
+ self.dig_for_hash("officeSummary", "officeAddress")
188
+ end
189
+
190
+ # officeId : String
191
+ # Globally unique identifier assigned to an office by Realogy
192
+
193
+ def office_id
194
+ self.dig_for_string("officeSummary", "officeId")
195
+ end
196
+
197
+ # officeManagerName : String
198
+ # Name of the Office Manager
199
+
200
+ def office_manager_name
201
+ self.dig_for_string("officeManagerName")
202
+ end
203
+
204
+ # officeSummary
205
+
206
+ def office_summary
207
+ self.dig_for_hash("officeSummary")
208
+ end
209
+
210
+ # type : String
211
+ # Type of office (Main, Branch, etc.)
212
+
213
+ def office_type
214
+ self.dig_for_string("officeSummary", "type")
215
+ end
216
+
217
+ # phoneNumber : String
218
+ # Main contact phone number for the office
219
+
220
+ def phone_number
221
+ self.dig_for_string("officeSummary", "phoneNumber")
222
+ end
223
+
224
+ # postalCode : String
225
+ # ZIP/Postal code"
226
+
227
+ def postal_code
228
+ self.dig_for_string("officeSummary", "officeAddress", "postalCode")
229
+ end
230
+
231
+ # recruitingEmailAddress : String
232
+ # Email address to send any recruiting-related communications for the Office
233
+
234
+ def recruiting_email_address
235
+ self.dig_for_string("recruitingEmailAddress")
236
+ end
237
+
238
+ # remarks : [Hash]
239
+ # Collection of remarks for the Office
240
+
241
+ def remarks
242
+ self.dig_for_array("remarks")
243
+ end
244
+
245
+ # RFGCompanyId : String
246
+ # Unique identifier assigned to a company by Realogy
247
+
248
+ def rfg_company_id
249
+ self.dig_for_string("RFGCompanyId")
250
+ end
251
+
252
+ # RFGOfficeId : String
253
+ # Unique identifier assigned to an office by Realogy
254
+
255
+ def rfg_office_id
256
+ self.dig_for_string("RFGOfficeId")
257
+ end
258
+
259
+ # seasonalCloseMMDD : String
260
+ # If a Seasonal Office, the month/day on which the Office closes in a year
261
+
262
+ def seasonal_close_mmdd
263
+ self.dig_for_string("seasonalCloseMMDD")
264
+ end
265
+
266
+ # seasonalOpenMMDD : String
267
+ # If a Seasonal Office, the month/day on which the Office opens in a year
268
+
269
+ def seasonal_open_mmdd
270
+ self.dig_for_string("seasonalOpenMMDD")
271
+ end
272
+
273
+ # specialMarkets : Array
274
+ # A list of Markets that the Office specializes in
275
+
276
+ def special_markets
277
+ self.dig_for_array("specialMarkets")
278
+ end
279
+
280
+ # stateProvince : String
281
+ # State/Province where the address is
282
+
283
+ def state_province
284
+ self.dig_for_string("officeSummary", "officeAddress", "stateProvince")
285
+ end
286
+
287
+ # stateProvinceCode : String
288
+ # ISO code of the state/subdivision
289
+
290
+ def state_province_code
291
+ self.dig_for_string("officeSummary", "officeAddress", "stateProvinceCode")
292
+ end
293
+
294
+ # streetAddress : String
295
+ # Street address"
296
+
297
+ def street_address
298
+ self.dig_for_string("officeSummary", "officeAddress", "streetAddress")
299
+ end
300
+
301
+ # websiteURL : String
302
+ # URL to the Office's website
303
+
304
+ def website_url
305
+ self.dig_for_string("websiteURL")
306
+ end
307
+
2
308
  end
@@ -1,2 +1,125 @@
1
1
  class Realogy::Team < Realogy::Entity
2
+
3
+ # awards : [Hash]
4
+
5
+ def awards
6
+ self.dig_for_array("awards")
7
+ end
8
+
9
+ # addlPhoneNumbers : [Hash]
10
+ # Additional phone numbers of team
11
+
12
+ def addl_phone_numbers
13
+ self.dig_for_array("addlPhoneNumbers")
14
+ end
15
+
16
+ # addlEmails : [Hash]
17
+ # Additional emails of team
18
+
19
+ def addl_emails
20
+ self.dig_for_array("addlEmails")
21
+ end
22
+
23
+ # addlLanguageNames : [Hash]
24
+ # Additional languages spoken by the team
25
+
26
+ def addl_language_names
27
+ self.dig_for_array("addlLanguageNames")
28
+ end
29
+
30
+ # addlWebSites : [Hash]
31
+ # A collection of websites associated with the Team
32
+
33
+ def addl_websites
34
+ self.dig_for_array("addlWebSites")
35
+ end
36
+
37
+ # emailAddress : String
38
+ # Email address of the team
39
+
40
+ def email_address
41
+ self.dig_for_string("emailAddress")
42
+ end
43
+
44
+ # lastUpdateOn : Datetime
45
+ # The date/time in UTC when the team was last updated
46
+
47
+ def last_update_on
48
+ self.dig_for_datetime("lastUpdateOn")
49
+ end
50
+
51
+ # media : [Hash]
52
+
53
+ def media
54
+ self.dig_for_array("media")
55
+ end
56
+
57
+ # members : Arrau
58
+ # Agents who are part of the Team
59
+
60
+ def members
61
+ self.dig_for_array("members")
62
+ end
63
+
64
+ # name : String
65
+ # Display Name of the Team"
66
+
67
+ def name
68
+ self.dig_for_string("name")
69
+ end
70
+
71
+ # office
72
+
73
+ def office
74
+ self.dig_for_hash("office")
75
+ end
76
+
77
+ # phoneNumber : String
78
+ # Phone Number of the team
79
+
80
+ def phone_number
81
+ self.dig_for_string("phoneNumber")
82
+ end
83
+
84
+ # remarks : [Hash]
85
+ # Remarks of team
86
+
87
+ def remarks
88
+ self.dig_for_array("remarks")
89
+ end
90
+
91
+ # RFGTeamID : String
92
+ # A short unique identifier assigned to the Team by Realogy
93
+
94
+ def rfg_team_id
95
+ self.dig_for_string("RFGTeamID")
96
+ end
97
+
98
+ # teamId : String
99
+ # Globally unique identifier assigned to a Team by Realogy
100
+
101
+ def team_id
102
+ self.dig_for_string("teamId")
103
+ end
104
+
105
+ # type : String
106
+ # Display Type of the Team
107
+
108
+ def team_type
109
+ RFGTeamIDdig_for_string("type")
110
+ end
111
+
112
+ # teamSummary : Hash
113
+
114
+ def team_summary
115
+ self.dig_for_hash("teamSummary")
116
+ end
117
+
118
+ # websiteUrl : String
119
+ # Website URL of the team
120
+
121
+ def website_url
122
+ self.dig_for_string("websiteUrl")
123
+ end
124
+
2
125
  end
@@ -1,3 +1,3 @@
1
1
  module Realogy
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-05 00:00:00.000000000 Z
11
+ date: 2019-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,10 +128,6 @@ files:
128
128
  - lib/realogy/railtie.rb
129
129
  - lib/realogy/tasks/realogy.rake
130
130
  - lib/realogy/version.rb
131
- - realogy-0.1.0.gem
132
- - realogy-0.2.0.gem
133
- - realogy-0.3.0.gem
134
- - realogy-0.3.1.gem
135
131
  - realogy.gemspec
136
132
  homepage: https://github.com/arcticleo/realogy
137
133
  licenses:
@@ -152,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
148
  - !ruby/object:Gem::Version
153
149
  version: '0'
154
150
  requirements: []
155
- rubyforge_project:
156
- rubygems_version: 2.7.6
151
+ rubygems_version: 3.0.3
157
152
  signing_key:
158
153
  specification_version: 4
159
154
  summary: Encapsulation of Realogy's DataSync API.
data/realogy-0.1.0.gem DELETED
Binary file
data/realogy-0.2.0.gem DELETED
Binary file
data/realogy-0.3.0.gem DELETED
Binary file
data/realogy-0.3.1.gem DELETED
Binary file