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 +4 -4
- data/lib/pseng_ekg_client/version.rb +1 -1
- data/lib/pseng_ekg_client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59eb9242cc12c08947ae73d5eb4513a128ca5780
|
4
|
+
data.tar.gz: 0b879ec56fb0fc0b64eb84cc733edc3d28a06b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c525c278ae1a801e1d6927933fd638eb52e804468d310dedee39b67d7d988f9638fc6fbfd9b84d87e70b04b15c2b49a04c40a345d726a0a54b00519b699f48ce
|
7
|
+
data.tar.gz: ec1da26d119e6f247bb3269b327911ec476a4c6d7a293cf95e6a612861a351b3d57872815fd52cbf59f2ae6610066b2d65ff8b7f49dbaf74fa73046c89dd3e03
|
data/lib/pseng_ekg_client.rb
CHANGED
@@ -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.
|
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)
|