moxiworks_platform 0.8.0 → 0.8.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5982efd3cf0e8359789a16eb2da72383ed3724d
4
- data.tar.gz: 9afe87288ef28f30509d1ebd01c68950d2daf91c
3
+ metadata.gz: 689f505c9ecc6607ad7ab591e0316042465881ca
4
+ data.tar.gz: e3f2f5b7728595c908c0975cc4f562ab9fab6418
5
5
  SHA512:
6
- metadata.gz: c0003810df1a747a898f06abc2c3e52986ff014a46b7be4b41e9b3a904f48cb3baba4fd53151c6f21c4db0e94c148bb326fd14c54507c11d7ef086b88ac5e056
7
- data.tar.gz: 74f2f0903418aa1078ecbea64b468a2bfd81a6d59ef7b907f975928484361098710f7e1e89fbb4ab2914abe50e16f42df5fc3db04196bb0412bf0af5fe9c0bfd
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
- contacts = []
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
@@ -1,3 +1,3 @@
1
1
  module MoxiworksPlatform
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moxiworks_platform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tres Wong-Godfrey