pseng_ekg_client 0.1.9 → 0.1.10

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: d8c7d56874c7eff8d5a0c71f96b19602ed7e3a27
4
- data.tar.gz: e3abb54cfc6776b9ee1a4c77387eb20cf993832d
3
+ metadata.gz: 9b8cd8b7b95cfe121c07afc7f56dc1d6fdee85e1
4
+ data.tar.gz: c1404cb0ae5ddd0b5f9036db969916b83395daf5
5
5
  SHA512:
6
- metadata.gz: ce7f1ce57c9c6769fbffc1d5dc06e45c3a4f9c7b6cf18b885f3c2ac8cd41bd12a7908042f31ea54fb08ad63c9118dc913f3c2f7d5c5d7769923a287e235f7160
7
- data.tar.gz: d675731e0a1cd0aff0c6ff37c1f83165b90d52d93c0c287f9b04190960662a74ed402e2b3085f0954c66f2a44edcc5c8b579fb07f6bc609d1bdb19c6d6b9d8d3
6
+ metadata.gz: 73c6e675408d43b505f18c92210b40d297e196ad03bf10eb4d820e28b3e85497f67afd643f872940702b0ee2f997eaa68705bb767e76bb1eac62aa9f1fdc412a
7
+ data.tar.gz: df0043e1e737c124a4a0f79c60e9bc8c256b01ab4e7a1fe1a3485de0b042e5485451c57bb35a740967a2e883d94fb45daf3c1b373ca9d6419ef169bfaf523d4a
@@ -2,24 +2,24 @@ module PsengEkg
2
2
  class Client
3
3
  module Applications
4
4
 
5
- def application_index(options = {})
6
- self.class.get("/api/v1/applications.json", options)
5
+ def application_index(params = {})
6
+ self.class.get("/api/v1/applications.json", query: params)
7
7
  end
8
8
 
9
- def application_show(application_id, options = {})
10
- self.class.get("/api/v1/applications/#{application_id}.json", options)
9
+ def application_show(application_id, params = {})
10
+ self.class.get("/api/v1/applications/#{application_id}.json", query: params)
11
11
  end
12
12
 
13
- def application_create(options = {})
14
- self.class.post("/api/v1/applications.json", options)
13
+ def application_create(params = {})
14
+ self.class.post("/api/v1/applications.json", query: params)
15
15
  end
16
16
 
17
- def application_update(applictation_id, options = {})
18
- self.class.patch("/api/v1/applications/#{application_id}.json", options)
17
+ def application_update(applictation_id, params = {})
18
+ self.class.patch("/api/v1/applications/#{application_id}.json", query: params)
19
19
  end
20
20
 
21
- def application_destroy(applictation_id, options = {})
22
- self.class.destroy("/api/v1/applications.json", options)
21
+ def application_destroy(applictation_id, params = {})
22
+ self.class.destroy("/api/v1/applications.json", query: params)
23
23
  end
24
24
 
25
25
  end
@@ -2,24 +2,24 @@ module PsengEkg
2
2
  class Client
3
3
  module Tasks
4
4
 
5
- def task_index(application_id, options = {})
6
- self.class.get("/api/v1/applications/#{application_id}/tasks.json", options)
5
+ def task_index(application_id, params = {})
6
+ self.class.get("/api/v1/applications/#{application_id}/tasks.json", query: params)
7
7
  end
8
8
 
9
- def task_show(application_id, task_id, options = {})
10
- self.class.get("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", options)
9
+ def task_show(application_id, task_id, params = {})
10
+ self.class.get("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", query: params)
11
11
  end
12
12
 
13
- def task_create(application_id, options = {})
14
- self.class.post("/api/v1/applications/#{application_id}/tasks.json", options)
13
+ def task_create(application_id, params = {})
14
+ self.class.post("/api/v1/applications/#{application_id}/tasks.json", query: params)
15
15
  end
16
16
 
17
- def task_update(applictation_id, task_id, options = {})
18
- self.class.patch("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", options)
17
+ def task_update(applictation_id, task_id, params = {})
18
+ self.class.patch("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", query: params)
19
19
  end
20
20
 
21
- def task_destroy(applictation_id, task_id, options = {})
22
- self.class.destroy("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", options)
21
+ def task_destroy(applictation_id, task_id, params = {})
22
+ self.class.destroy("/api/v1/applications/#{application_id}/tasks/#{task_id}.json", query: params)
23
23
  end
24
24
 
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module PsengEkg
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pseng_ekg_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Tanner