cumulus_ruby 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/cumulus/pmx.rb +4 -0
- data/lib/cumulus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e76acba60da1f86bc2213c5dc59af3167da29c4
|
4
|
+
data.tar.gz: fcbb6cd5178ad9ad4db083c42eca8ef3a52e655d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b748ffe4d80664093ec24206313810705d385d73382b509370a5850df0d300848267805b2b18595ba60d06bf49932e71a8d34971a292f442734410ead0730c56
|
7
|
+
data.tar.gz: 7e3939856ae16d1618774929e1c00689b189818ca395336e53e47e3ada2693c5c9f7e888d794a656ec660c6aaeb29040e02405b991e16947b3341ca21827baef
|
data/README.md
CHANGED
data/lib/cumulus/pmx.rb
CHANGED
@@ -20,6 +20,10 @@ module Cumulus
|
|
20
20
|
client.request(:post, '/pemex/paciente', params)
|
21
21
|
end
|
22
22
|
|
23
|
+
def fetch_patient_by_curp(curp)
|
24
|
+
client.request(:get, "/pacientes/#{curp}/pemex")
|
25
|
+
end
|
26
|
+
|
23
27
|
def link_patient(curp, params)
|
24
28
|
client.request(:post, "/pacientes/#{curp}/pemex", params)
|
25
29
|
end
|
data/lib/cumulus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cumulus_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amed Rodriguez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|