v2_intuity 1.0.1 → 1.0.2

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: b0d724b6101183d0b427d9d0dfd8d2bf28bf6301
4
- data.tar.gz: 5cb7ee9ae865c8e62e7a39b70a65d042c371be8c
3
+ metadata.gz: 29b42aa6ae619bd1d991277e93b55cb065df8ff3
4
+ data.tar.gz: ebb2caf1a116f8a1e106b49d088c7553b3e84723
5
5
  SHA512:
6
- metadata.gz: 75561a970b89a7afa5e046570086a8a539451b4019c5adc07505d0b1574142c650f7c7949bfdcd3dea796c4ea65a5d3f886aea16edb40662cfc486af4a1c93c9
7
- data.tar.gz: cf798fe739a306d91cfe4ffafda82e13fd3afddcf4d4134b4ebac74569c4ef962fe88f44ead865e7d5ca3efb1bdd1ddc6f758dbda2f72f8aad4a2112eb0fd9d2
6
+ metadata.gz: 14bcaec39ff98ce221f820eb287ee2674040a76c3379a310c8358438daa4e351e1d3834fb0f4186960c8dea74bbeeba3a1d76d3c8ad8197e79cbff2ba2ca431c
7
+ data.tar.gz: 21faf75bd3c8a70b9a0870116c7ef1e19884caf51ebae4fde2f89a515c2541476e3c8646b274b7be0383b98a412c6f887f2ab865cebf930a1d6ecf496f6524e6
@@ -11,10 +11,10 @@ module V2Intuity
11
11
  @stream_id = options[:stream_id]
12
12
  end
13
13
 
14
- def send_request(method, client)
14
+ def send_request(method, client, query_filters = [])
15
15
  return 'StreamApi client is requied' unless client.class == V2Intuity::Clients::StreamApi
16
16
 
17
- endpoint, options = build_options(method)
17
+ endpoint, options = build_options(method, query_filters)
18
18
  client.build_and_send_request(endpoint, options)
19
19
  end
20
20
 
@@ -28,7 +28,6 @@ module V2Intuity
28
28
 
29
29
  when V2Intuity::Request::METHODS[:get]
30
30
  options = { method: method, id: stream_id }.compact # id can be blank when getting all streams
31
-
32
31
  when V2Intuity::Request::METHODS[:post]
33
32
  raise 'name is required' unless name
34
33
  body = { name: name, start_date: start_date,
@@ -1,3 +1,3 @@
1
1
  module V2Intuity
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: v2_intuity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rruiz858
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-15 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler