pseng_ekg_client 0.1.3 → 0.1.4

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: b7573d6b159400c5a4a5ce07ea21d146e344c63f
4
- data.tar.gz: c26cbf28ab9024e6924becaec6db10f2f7137ee6
3
+ metadata.gz: 59eb9242cc12c08947ae73d5eb4513a128ca5780
4
+ data.tar.gz: 0b879ec56fb0fc0b64eb84cc733edc3d28a06b4c
5
5
  SHA512:
6
- metadata.gz: e9179572f880d95a49da2ae7aaa0ac6f865b67df3fd0c79f0b073e6c19dcc88eb2c5613360ba686d594397b27148acc390127170f9e9476e4c1618de4fe88957
7
- data.tar.gz: 42e90aa60baf25960e1cf7d3e149e2721817bca1358c428a5822d7c488f6fa750ea35771f63f1a6d278e5720eeb86c55c6d71a68b4826399da943373aabe63a2
6
+ metadata.gz: c525c278ae1a801e1d6927933fd638eb52e804468d310dedee39b67d7d988f9638fc6fbfd9b84d87e70b04b15c2b49a04c40a345d726a0a54b00519b699f48ce
7
+ data.tar.gz: ec1da26d119e6f247bb3269b327911ec476a4c6d7a293cf95e6a612861a351b3d57872815fd52cbf59f2ae6610066b2d65ff8b7f49dbaf74fa73046c89dd3e03
@@ -1,3 +1,3 @@
1
1
  module PsengEkgClient
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -3,12 +3,12 @@ require 'httparty'
3
3
 
4
4
  module PsengEkgClient
5
5
  class Api
6
- include HTTParty
7
6
  VALID_ACTIONS = %w(index show create update destroy)
8
7
  VALID_RECORD_TYPES = %w(application task)
9
8
 
10
9
  def initialize(base_uri)
11
- self.base_uri base_uri
10
+ self.class.send(:include, HTTParty)
11
+ self.class.send(:base_uri, base_uri)
12
12
  end
13
13
 
14
14
  def send_message(record_type, action, payload)
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Tanner