mls 0.6.4 → 0.6.5
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/listing.rb +1 -1
- data/mls.gemspec +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: f1dbf0ba030e794b956ef4e91b576e57f2597d97
|
4
|
+
data.tar.gz: eee480fd10e321dcadca10b7ffb09b4d0c43d0cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b14c92b4ecce2e4fa9d086c768190b1f873ea81c71736b1159ce92ab6672946b5c6dabd4a46ae000607598fa2b036cdf360515437fc8f8ca8e2216e27271f3a
|
7
|
+
data.tar.gz: f815bb7f4f1d2c7d4394871eb93df8afe1f146ed9570559cf1d8f624990ed86cf7b4601f7cc819ae3c8b4760fd783858d566f1cb28816418397d231ef6aaa83b
|
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
|
259
|
+
@amenities ||= Yajl::Parser.new.parse(MLS.get('/listings/amenities').body).map(&:to_sym)
|
260
260
|
end
|
261
261
|
|
262
262
|
end
|
data/mls.gemspec
CHANGED