reso_api 0.5.4 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73aa7cfde3a1c862ae24af151a7e179e56f7765d5f71a54fee103a4ef2963750
4
- data.tar.gz: 9949c7a9f28e1c2e54a3ae3ad4aed9657ddab43650a28fccf162d5426aa83b71
3
+ metadata.gz: 1ef7f2b75b223515ac38f77207f318c63cf5dfe9bcea5b8e19deba26b4f18948
4
+ data.tar.gz: be79b59c3400ca395deb6ed5101d48b0378ecef444495f310f5b17cb9b4ae22a
5
5
  SHA512:
6
- metadata.gz: e92d18c780a60e380993082eb42a8cc81b7612800fa0cc87979a32bb5a4f203256c9452cdedef53c88f9e6da6245796e4c6e82b8b967fec570303f3776dc3e6e
7
- data.tar.gz: 4858d6e61f634d7e03dfcf49ed49080645a3084f5c884e37ea1a1935641a193c6c815713fe2fbdefd33fea15ab01514318ca1adefc5b41a9ace65f067f5b4dd1
6
+ metadata.gz: feb5cf5e4574406c4295dec43124fea5e26860abff248623f4f3a7167b2e0d91ae2bcb515d9a6a62f004dcb11060db82ec15bee15a2d4e6b118c9e1407beaea2
7
+ data.tar.gz: d9f3fff4596193e7fa36487722e189da0adbcc7dea40d8fd15d35ab50d82e3f4d0fc18f8d3551f1b785722aefa8812e063390b272622d6e75cbfbfee9e34eb27
data/README.md CHANGED
@@ -143,6 +143,14 @@ $expand in oData is meant to join two resources together. For the Syndication AP
143
143
  client.properties(expand: "Media")
144
144
  ```
145
145
 
146
+ #### $ignorenulls
147
+
148
+ For servers that support it, `$ignorenulls` omits empty keys from the response to reduce data size.
149
+
150
+ ```ruby
151
+ client.properties(ignorenulls: "true")
152
+ ```
153
+
146
154
  #### Automatically iterate over all results
147
155
 
148
156
  By passing a block to Media, Member, Office, and Property resource calls, subsequent paginated calls will automatically be made until the whole result set has been traversed. The block provided is executed for each returned object hash. The `batch` option can be used to return the full array of results.
@@ -223,8 +231,9 @@ client.properties(top: 5, orderby: "ListingKey", skiptoken: "3yd-AAABORMI-320039
223
231
 
224
232
  This gem should work with any RESO Web API compliant service, but these are those that have been confirmed to work.
225
233
 
226
- - [ListHub](https://www.listhub.com)
234
+ - [Constellation1](https://constellation1.com)
227
235
  - [CoreLogic Trestle](https://trestle.corelogic.com)
236
+ - [ListHub](https://www.listhub.com)
228
237
 
229
238
  If you use this gem to connect to another service or MLS, please submit a pull request with that service added in alphabetical order in this list.
230
239
 
@@ -61,6 +61,7 @@ module RESO
61
61
  "$skiptoken": hash[:skiptoken],
62
62
  "$expand": hash[:expand],
63
63
  "$count": hash[:count].to_s.presence,
64
+ "$ignorenulls": hash[:ignorenulls],
64
65
  "$debug": hash[:debug]
65
66
  }.compact
66
67
  if !block.nil?
@@ -1,3 +1,3 @@
1
1
  module ResoApi
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reso_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler