access 2.0.14 → 2.0.15
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 +4 -4
- data/lib/access/api.rb +1 -1
- data/lib/access/request.rb +2 -2
- data/lib/access/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76f8101646132407a45dce5cb4879ce4e152251d
|
|
4
|
+
data.tar.gz: 5606f03d1dfbb338f83807ff5301a4913df2f681
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2889e260231f3c6ef2f2cde036e51e0b63ca8011a3700898ba6c39e4b4dc8f2a345ad4b84ac54f1d31b4d6db6e17997e144f44f5f33face66ab070f23438d81
|
|
7
|
+
data.tar.gz: 980a0c9afd21bd4b5bcf95da601525bf9f6574b7d14f919e5fbbf194617ea54386fa0dc7e6f758801e527c30992261287905e77f7ccbdcb444e76e639f723750
|
data/lib/access/api.rb
CHANGED
|
@@ -258,7 +258,7 @@ module Access
|
|
|
258
258
|
|
|
259
259
|
def verify_filter(filter, options = {})
|
|
260
260
|
# Internal Admin only Call
|
|
261
|
-
request.
|
|
261
|
+
request.post_for_filter("/filter", 'token', filter, options) do |response|
|
|
262
262
|
VerifyResponse.new(response)
|
|
263
263
|
end
|
|
264
264
|
end
|
data/lib/access/request.rb
CHANGED
|
@@ -31,9 +31,9 @@ module Access
|
|
|
31
31
|
raise Access::Error::NoData
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
def
|
|
34
|
+
def post_for_filter(path, api_type, filter, options={}, &block)
|
|
35
35
|
url = set_base(api_type, path)
|
|
36
|
-
results = self.class.
|
|
36
|
+
results = self.class.post(url, headers: headers(options[:access_token]), body: filter, timeout: (options[:access_timeout] || 3))
|
|
37
37
|
if should_return_json?(options[:return_json])
|
|
38
38
|
hashify_results?(options[:hashify]) ? results.hashify : results
|
|
39
39
|
else
|
data/lib/access/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: access
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Eggett
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-10-
|
|
13
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|