pseng_ekg_client 0.1.6 → 0.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: d9ae09a3e58a486de47ee190cd73b23a589537f4
4
- data.tar.gz: a1417ecb611a7ee8093ac99656b9b721e2134080
3
+ metadata.gz: d4da722eb367830e5b4363c307e7e9e7aad2b614
4
+ data.tar.gz: f2cfab47c370a3635a3e96cd4759d6026f82aad1
5
5
  SHA512:
6
- metadata.gz: 57a39e750f5be447169956b56da141a87d7859ac42f85ae1345770fc6b391bd92123b9bc6b9d4576a1344b8c3c7e400227ccaa9c44bd69ee1b9af2a89d7dfe37
7
- data.tar.gz: 28c1d1c68b031e7bf669976852da00ceeae6d8a3338b0f2b8ed6f1588313a1884830dd1a9f6b8a57fa93489c0b94220dd3d550a0273e5b9e30b9bfb8777d7ce4
6
+ metadata.gz: c06456ca47363176ad7facbcaacc11a4b70b0864fe62bdaf9e234a683180c7898aaf305abb22f7d04dcd1dd969c13ffb0299128e42bc62871202c79fb71c0cd8
7
+ data.tar.gz: 13af37e44a32510fc53322723388ff487ee15cb8fc5188f1c154486921b77199b1787701b013081156a211f4940b619d98f635b9f09c37041e7bf52df001f8b4
@@ -1,3 +1,3 @@
1
1
  module PsengEkgClient
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -20,7 +20,7 @@ module PsengEkgClient
20
20
  headers: { 'Content-Type' => 'application/json' }
21
21
  }
22
22
 
23
- case action
23
+ response = case action
24
24
  when 'index'
25
25
  self.class.get("/#{record_type}s.json", options)
26
26
  when 'show'
@@ -32,6 +32,7 @@ module PsengEkgClient
32
32
  when 'destroy'
33
33
  self.class.delete("/#{record_type}s/#{payload.id}.json", options)
34
34
  end
35
+ JSON.parse(response.body)
35
36
  end
36
37
  end
37
38
  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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Tanner