v2_intuity 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 215cba1c197b14b5440d2a75a420134d6e9618a5
4
- data.tar.gz: e7f1283c6c3ad33ed976b11cf800cbf5bca66350
3
+ metadata.gz: 6aea9d3edd90bc078679cf8224949923f3d20fbc
4
+ data.tar.gz: da5b9a378c6f718d762abc76509b9cd27843768f
5
5
  SHA512:
6
- metadata.gz: 4dc3d6184e939ea6858a7b02080750ceb258b0a4da7db2de1ef1349fd35c65bf51e2a94091c71b697347d75a6b944ff592b9888792c5b271b35bb147b3453e10
7
- data.tar.gz: 1e111930c5e897c5ba4fa01e8941713c38e692abda94ea0fe92ce625fd57cf1bd43185c047c29befb9eefb53f1982eaff4d679267bff92e10e8190820d15e344
6
+ metadata.gz: 69ef81331bad735bbd59197280f6151c3bfcec656fbfe0d9704ed275978ea26e6df4f575c23c0f4c8590160358e3973fe435e2e56c2607e050306f768498c534
7
+ data.tar.gz: 2d5e9b71ac2edc953f2fe2a7e6d6ef65464b0953240258a3ee3173d4bc141e4e241367e37890ea5ee88b676395393c9a51f757ba0a273383f7901c3b9ec29f13
@@ -30,8 +30,8 @@ module V2Intuity
30
30
  options = { method: method, id: stream_id }
31
31
 
32
32
  when V2Intuity::Request::METHODS[:get]
33
- puts method
34
- options = { method: V2Intuity::Request::METHODS[:get], id: stream_id }.compact # id can be blank when getting all streams
33
+
34
+ options = { method: method, id: stream_id } # id can be blank when getting all streams
35
35
  when V2Intuity::Request::METHODS[:post]
36
36
  raise 'name is required' unless name
37
37
  body = { name: name, start_date: start_date,
@@ -49,7 +49,7 @@ module V2Intuity
49
49
 
50
50
  options[:query_filters] = query_filters unless query_filters.empty?
51
51
 
52
- [V2Intuity::Endpoints::Stream.new, options]
52
+ [V2Intuity::Endpoints::Stream.new, options.compact]
53
53
  end
54
54
 
55
55
  def format_resource_filters(filters)
@@ -1,3 +1,3 @@
1
1
  module V2Intuity
2
- VERSION = '1.0.6'.freeze
2
+ VERSION = '1.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: v2_intuity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - rruiz858