provide-ruby 0.43.0 → 0.44.0

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: 329b35ec626ee9f37dcfa15ff06b5b584ce4ca4b
4
- data.tar.gz: 817a37bb00989d90f1da3ff0ea78618e8bf8f765
3
+ metadata.gz: ba2d4dd52b9e03f1806408fb58375100b8f80438
4
+ data.tar.gz: fd5c93405498e42d218ecf3653b828876ff59761
5
5
  SHA512:
6
- metadata.gz: 874e39db2aa704bf8376b6192a2c59ab1cfd8aa34b8777ff5ff3ac001730918d6d67d0a9974594d751a67c82057808f81291bbe47e9532466e9e5014a7781392
7
- data.tar.gz: '00419c584a5a0c3e4a34ed2732661427480398e96d23abfb7b7236459ab2a10e2191b3dc1353722a28de0ab0dde4a34bae529f89d4e23f5d8dd515cbafab1573'
6
+ metadata.gz: 271bd7080501e905a12631a1b9d6cd17fde99eb70fd6000abc661540b8e8c522e2378700072ef8d35a465c8cc210ab5d667e0b138818eaa112de185e5d1f3df0
7
+ data.tar.gz: b0323d97df446516a01a3aa0d7533515eb6e6eca20c4b985270ff3eb1e9048dbec4d7da732666a130c2a2e0e71776bb675e3fef301080a57601a892a1c74845a
@@ -8,32 +8,32 @@ module Provide
8
8
  @token = token
9
9
  end
10
10
 
11
- def create_application(params)
12
- parse client.post 'applications', params
11
+ def create_application(params = nil)
12
+ parse client.post 'applications', (params || {})
13
13
  end
14
14
 
15
15
  def update_application(application_id, params)
16
16
  parse client.put "applications/#{application_id}", params
17
17
  end
18
18
 
19
- def applications
20
- parse client.get 'applications'
19
+ def applications(params = nil)
20
+ parse client.get 'applications', (params || {})
21
21
  end
22
22
 
23
23
  def application(app_id)
24
24
  parse client.get "applications/#{app_id}"
25
25
  end
26
26
 
27
- def application_tokens(app_id)
28
- parse client.get "applications/#{app_id}/tokens"
27
+ def application_tokens(app_id, params = nil)
28
+ parse client.get "applications/#{app_id}/tokens", (params || {})
29
29
  end
30
30
 
31
31
  def authenticate(params)
32
32
  parse client.post 'authenticate', params
33
33
  end
34
34
 
35
- def tokens(params)
36
- parse client.get 'tokens', params
35
+ def tokens(params = nil)
36
+ parse client.get 'tokens', (params || {})
37
37
  end
38
38
 
39
39
  def token(token_id)
@@ -48,8 +48,8 @@ module Provide
48
48
  parse client.post 'users', params
49
49
  end
50
50
 
51
- def users
52
- parse client.get 'users'
51
+ def users(params = nil)
52
+ parse client.get 'users', (params || {})
53
53
  end
54
54
 
55
55
  def user(user_id)
@@ -1,3 +1,3 @@
1
1
  module Provide
2
- VERSION = '0.43.0'
2
+ VERSION = '0.44.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provide-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Thomas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-12 00:00:00.000000000 Z
11
+ date: 2018-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus