access 1.1.6 → 1.1.7

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
  SHA1:
3
- metadata.gz: e1d38311798cf22fd2d5dcab2ce8fb365e834aef
4
- data.tar.gz: 09525549b3403f9d43fac9b9ec7562e2c672bdad
3
+ metadata.gz: e99cab47666893bfa7332b3460407bf898f3f302
4
+ data.tar.gz: ba6667849980ea43b32c22a703ce5cac31ddd451
5
5
  SHA512:
6
- metadata.gz: 5c08ab32997c1833695449840e5c6a76c26fce015eb5d33823fce8d822d5c18397ef8876fc54be66b47cc9771d76c1b025133945e2f79be3795ea5cdfff48823
7
- data.tar.gz: 0f17ca8069bd533bbfd042faacdcafb665dacdfe659621bfa9fb09a53fed8a373bfb24981a04ea22128174205828b5341bb24c9ba9e673883c5326c2a864d4f1
6
+ metadata.gz: 54771695dc0e7b16b949379fba7e8f522b5d960b207a72a43c9c98dd21b3f517a33e6254ffdb73d45057c2a7415227f9f09fce9a51237ec097e00d50673bfc61
7
+ data.tar.gz: 82617f27889ee27520468226ba37bb6d468cae801683f6a543b592c2086547ad23b05821eb9b369e6e910eb044417bbacea31ace018283da1eef7d672bdabe0e
@@ -13,6 +13,7 @@ require "access/location"
13
13
  require "access/category"
14
14
  require "access/autocomplete"
15
15
  require "access/report"
16
+ require "access/filter"
16
17
  require "access/oauth_application"
17
18
  require "access/token"
18
19
  require "access/verify"
@@ -51,6 +51,16 @@ module Access
51
51
  end
52
52
 
53
53
 
54
+ # Filters
55
+ def search_filters(options = {})
56
+ get('/filters', 'token', options)
57
+ end
58
+
59
+ def find_filter(application_id, options = {})
60
+ get("/filters/#{application_id}", 'token', options)
61
+ end
62
+
63
+
54
64
  # Oauth Applications
55
65
  def search_oauth_applications(options = {})
56
66
  get('/oauth_applications', 'token', options)
@@ -0,0 +1,13 @@
1
+ module Access
2
+ class Filter
3
+
4
+ def self.search(options = {})
5
+ Access::Api.new.search_filters options
6
+ end
7
+
8
+ def self.find(application_id, options = {})
9
+ Access::Api.new.find_filter application_id, options
10
+ end
11
+
12
+ end
13
+ end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
4
4
 
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: 1.1.6
4
+ version: 1.1.7
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-06-26 00:00:00.000000000 Z
13
+ date: 2015-06-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -145,6 +145,7 @@ files:
145
145
  - lib/access/category.rb
146
146
  - lib/access/config.rb
147
147
  - lib/access/error.rb
148
+ - lib/access/filter.rb
148
149
  - lib/access/location.rb
149
150
  - lib/access/member.rb
150
151
  - lib/access/oauth_application.rb