reso_api 0.5.5 → 0.5.8

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: 7ed9347d7eb406dabae26687fe46f0bfc933fe3b3b8ed192a149ba22e864a763
4
- data.tar.gz: f6b49eb08938c136cbb10d0f01c70d8e7412c4f2e8fe63d2773ef52e53b224c2
3
+ metadata.gz: 5ca52c73bd1cb98b08934938aaaf0189cf42dd804c3a4da263e59edfea42b4f5
4
+ data.tar.gz: d27439df8b1632cb0853045bd25d3a572081c578a89ed4bec7d87c9001aeb1ed
5
5
  SHA512:
6
- metadata.gz: 26d274666242b196d8fae5e6d8b53533fc07e68d6b5c8165b675a99f977b7cca7f8fb135fcba9742bf11bfe8f6f43c48e7ca11d867ce24f10ce2955f7a941402
7
- data.tar.gz: 444b122035ff51ea71014b9f09e6400572d6262b89f24dd98f30cebda3faf8b62a418382ed982b032c3d63ad354d5806edcfe6787a73d20bdd4b9364f778d5e2
6
+ metadata.gz: 0ed963eb41527fb0eb867037609d2c6b24f00974c3ac32d65925405dc453542f451fabbfebd6925020c24e12ffc5ff8da3b06c44c82c693accecfa9fe2b57057
7
+ data.tar.gz: 57fed6c084e75763294b95d4b1768c5c7103aaffe4baac1f4535620ee9339ef97e37a684be9d920368ba0a2b5d08f86d2c89f5c3dd8ba81b9720dcb20c0430cb
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,7 +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
+ "$ignorenulls": hash[:ignorenulls].to_s.presence,
65
65
  "$debug": hash[:debug]
66
66
  }.compact
67
67
  if !block.nil?
@@ -1,3 +1,3 @@
1
1
  module ResoApi
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.8"
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.5
4
+ version: 0.5.8
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-08-23 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler