mls 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mls/models/account.rb +6 -0
- data/lib/mls/models/listing.rb +1 -1
- data/mls.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149e003fac1c2ba88cd130cc4460a3372d74edb2
|
4
|
+
data.tar.gz: 4ff86a88b3987a7f3f842c4a29e9a78414e0714a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd9db65c94c51d57a43f98e8ec25e71ff2bfe8fbf77a1e0c03c752102efbd14dcbf72ba30894772b55ca54c88d6fcf4f0acfc90995a56193f8203dc29e33526
|
7
|
+
data.tar.gz: 7e31314310c16aec819dd70d532342b2c9e407c0bdd461702c3e10877ebbebc3611b0e5dbd480c76a64db45455619916e99d092fce7cdf143ec705bae1e318f2
|
data/lib/mls/models/account.rb
CHANGED
@@ -28,6 +28,12 @@ class MLS::Account < MLS::Resource
|
|
28
28
|
|
29
29
|
property :email_token, String, :serialize => false
|
30
30
|
property :auth_key, String, :serialize => false
|
31
|
+
property :start_hours_of_operation, Fixnum, :serialize => :if_present
|
32
|
+
property :end_hours_of_operation, Fixnum, :serialize => :if_present
|
33
|
+
property :days_of_operation, String, :serialize => :if_present
|
34
|
+
property :timezone, String, :serialize => :if_present
|
35
|
+
property :lead_status, String, :serialize => :if_present
|
36
|
+
property :buyer_id, Fixnum, :serialize => :if_present
|
31
37
|
|
32
38
|
exclude_from_comparison :password, :password_confirmation
|
33
39
|
|
data/lib/mls/models/listing.rb
CHANGED
@@ -256,7 +256,7 @@ class MLS::Listing < MLS::Resource
|
|
256
256
|
end
|
257
257
|
|
258
258
|
def amenities
|
259
|
-
@amenities ||= Yajl::Parser.new.parse(MLS.get('/listings/amenities').body)
|
259
|
+
@amenities ||= Yajl::Parser.new(:symbolize_keys => true).parse(MLS.get('/listings/amenities').body)
|
260
260
|
end
|
261
261
|
|
262
262
|
end
|
data/mls.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James R. Bracy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|