TACore 4.1.3 → 4.1.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tacore/gateway.rb +10 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a9cbe3f146b314921cb08a2432fe2e5d636842b
4
- data.tar.gz: aa2a2f071fb58ad74f68ff6885e14e8e94668676
3
+ metadata.gz: 175312aed5903023298729f3454b502f2018cbf4
4
+ data.tar.gz: 6d8bcc005247cfc5714566c52cbdddbc34bec166
5
5
  SHA512:
6
- metadata.gz: 6986e3fb08bb2b03d8fee6fc67e06be070146ce20140042e0bdb04003c45c83e55553e10e68c00f657f88e37bb1b2e7498edcc61845dff8d3f9754451f934628
7
- data.tar.gz: 9a4e14e8a2b30051cf09ae3f5539afe9040ec898c14f7bf840f176dc9f3511c65a9ccc6c304ea0455fadbb070ca0e8ff617112d9aa430d9ef306b19750e07b4b
6
+ metadata.gz: f29195f6c624ae0b57f6419cdc82f0a6a8c3bd5cfd5cda8d31579a935f52414cdaff6cb7ee62954ccd6c7c1d57bfae207eff4ba2459ce9a2c8d6f46ae50baf89
7
+ data.tar.gz: 1c0fc925a0940ffc38f3d07821e4fc7f27f111124e7d51ddb58e11f63a57930b3cf9c1d7d3896ba9bbed910e6b3807e3f60a916dd9b11a9af000fe75e4cb9899
@@ -10,6 +10,16 @@ module TACore
10
10
  request(:get, '/gateway/' + gateway_id.to_s + '/sees', {}, {token: token, "client-id" => client_id})
11
11
  end
12
12
 
13
+ # Shows the devices that are seen by the gateway id with options to query with
14
+ # @param token [String] Client Token after Authentication
15
+ # @param client_id [String] used from {Client.create}
16
+ # @param gateway_id [String] Gateway ID
17
+ # @param options [String] Options
18
+ # @return [Array<Object, Object>] in JSON format
19
+ def self.sees_with_options(token, client_id, gateway_id, options)
20
+ request(:get, '/gateway/' + gateway_id.to_s + '/sees' + '?' + options, {}, {token: token, "client-id" => client_id})
21
+ end
22
+
13
23
  # Gets the Gateway by ID
14
24
  # @param token [String] Client Token after Authentication
15
25
  # @param client_id [String] used from {Client.create}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TACore
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Winn
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-01-25 00:00:00.000000000 Z
13
+ date: 2017-02-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client