moxiworks_platform 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moxiworks_platform/agent.rb +0 -35
- data/lib/moxiworks_platform/group.rb +1 -8
- data/lib/moxiworks_platform/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 689f505c9ecc6607ad7ab591e0316042465881ca
|
4
|
+
data.tar.gz: e3f2f5b7728595c908c0975cc4f562ab9fab6418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d89b9b1fad8dd3ebef013180732127dc5167c371814b91527f28fa1549dded642b4c7118bbd378748a5e9bd8dc7ff9771376fd64f61426c9e944112460cecf
|
7
|
+
data.tar.gz: 8a42949103d936c28a219892ae262be8fcb0934a9e2dd46a045ebba18b2da7f2cc122a22847ba8a33513e7c3e0f6dd9b4b9e3e8e2e493ad846fffee11b28cf64
|
@@ -11,16 +11,6 @@ module MoxiworksPlatform
|
|
11
11
|
# @return [String] the Moxi Works Platform ID of the agent
|
12
12
|
attr_accessor :moxi_works_agent_id
|
13
13
|
|
14
|
-
# @!attribute mls
|
15
|
-
#
|
16
|
-
# @return [Array] containing strings representing the MLSs the agent is a member of
|
17
|
-
attr_accessor :mls
|
18
|
-
|
19
|
-
# @!attribute accreditation
|
20
|
-
#
|
21
|
-
# @return [String] containing any accreditation the agent has
|
22
|
-
attr_accessor :accreditation
|
23
|
-
|
24
14
|
# @!attribute address_street
|
25
15
|
#
|
26
16
|
# @return [String] the agent's address, street and number
|
@@ -66,21 +56,11 @@ module MoxiworksPlatform
|
|
66
56
|
# @return [String] the agent's full name
|
67
57
|
attr_accessor :name
|
68
58
|
|
69
|
-
# @!attribute license
|
70
|
-
#
|
71
|
-
# @return [String] the agent's license number
|
72
|
-
attr_accessor :license
|
73
|
-
|
74
59
|
# @!attribute mobile_phone_number
|
75
60
|
#
|
76
61
|
# @return [String] the agent's mobile phone number
|
77
62
|
attr_accessor :mobile_phone_number
|
78
63
|
|
79
|
-
# @!attribute home_phone_number
|
80
|
-
#
|
81
|
-
# @return [String] the agent's home phone number
|
82
|
-
attr_accessor :home_phone_number
|
83
|
-
|
84
64
|
# @!attribute mobile_phone_number
|
85
65
|
#
|
86
66
|
# @return [String] the agent's fax phone number
|
@@ -106,11 +86,6 @@ module MoxiworksPlatform
|
|
106
86
|
# @return [String] the agent's secondary email address
|
107
87
|
attr_accessor :secondary_email_address
|
108
88
|
|
109
|
-
# @!attribute languages
|
110
|
-
#
|
111
|
-
# @return [Array] an array of strings representing any languages the agent speaks
|
112
|
-
attr_accessor :languages
|
113
|
-
|
114
89
|
# @!attribute twitter
|
115
90
|
#
|
116
91
|
# @return [String] the agent's twitter handle
|
@@ -131,16 +106,6 @@ module MoxiworksPlatform
|
|
131
106
|
# @return [String] the agent's home page url
|
132
107
|
attr_accessor :home_page
|
133
108
|
|
134
|
-
# @!attribute primary_email_address
|
135
|
-
#
|
136
|
-
# @return [String] the agent's date of birth
|
137
|
-
attr_accessor :birth_date
|
138
|
-
|
139
|
-
# @!attribute title
|
140
|
-
#
|
141
|
-
# @return [String] the agent's title
|
142
|
-
attr_accessor :title
|
143
|
-
|
144
109
|
# @!attribute profile_image_url
|
145
110
|
#
|
146
111
|
# @return [String] url to a full size image of the agent
|
@@ -43,14 +43,7 @@ module MoxiworksPlatform
|
|
43
43
|
#
|
44
44
|
def self.find(opts={})
|
45
45
|
url = "#{MoxiworksPlatform::Config.url}/api/groups/#{opts[:moxi_works_group_name]}"
|
46
|
-
|
47
|
-
response = self.send_request(:get, opts, url)
|
48
|
-
|
49
|
-
response.contacts.each do |c|
|
50
|
-
contacts << MoxiworksPlatform::Contact.new(c) unless c.nil? or c.empty?
|
51
|
-
end
|
52
|
-
response.contacts = contacts
|
53
|
-
response
|
46
|
+
self.send_request(:get, opts, url)
|
54
47
|
end
|
55
48
|
|
56
49
|
# Search an Agent's Groups in Moxi Works Platform
|