moxiworks_platform 0.10.2 → 0.10.3
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/listing.rb +8 -1
- 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: 4f7f485c1f43f9c4c53201340d3a1673f2c95afc
|
4
|
+
data.tar.gz: 1051cc39e9d2fb715c1762517b8bcc3e724997c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8200610adfb7b4258736cbbe776a09b746ffd813abdfaa3e8b3952d01754e0c29b35ddc1adb3d42850005f170de2cb803f5bcc99a33ee244195c7233e27d0b37
|
7
|
+
data.tar.gz: 96b68c95243e8a2dfc173a0e271636bce9f6bcb887a68a352741d2a88661b0d9a24aa2ad82c07264b1af3909521a932166ae05de58bd7e9b7a4652a770331f20
|
@@ -306,7 +306,7 @@ module MoxiworksPlatform
|
|
306
306
|
# optional Search parameters
|
307
307
|
#
|
308
308
|
# @option opts [String] :last_moxi_works_listing_id For multi-page responses (where the response value 'last_page' is false), send the listing ID of the last Listing in the previous page.
|
309
|
-
# @option opts [Hash] :previous_page For multi-page responses (where the response value 'last_page' is false), send the
|
309
|
+
# @option opts [Hash] :previous_page For multi-page responses (where the response value 'last_page' is false), send the entire response from the previous page.
|
310
310
|
#
|
311
311
|
# @return [Hash] with the format:
|
312
312
|
# {
|
@@ -325,6 +325,13 @@ module MoxiworksPlatform
|
|
325
325
|
# moxi_works_agent_id: 'abc123'
|
326
326
|
# )
|
327
327
|
#
|
328
|
+
# next_page = MoxiworksPlatform::Listing.search(
|
329
|
+
# moxi_works_company_id: 'the_company',
|
330
|
+
# updated_since: Time.now.to_i - 1296000,
|
331
|
+
# moxi_works_agent_id: 'abc123',
|
332
|
+
# previous_page: results
|
333
|
+
# )
|
334
|
+
#
|
328
335
|
# @block |Array|
|
329
336
|
# if you pass a block with the logic you want to perform on all listings,
|
330
337
|
# you can have all listings processed in a single call
|