culqi-ruby 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/culqi/charge.rb +2 -2
- data/lib/culqi/plan.rb +1 -0
- data/lib/culqi/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: 19c84b5edfb476e7e777f0a28b35e3fa9011484e
|
4
|
+
data.tar.gz: a3538c40335201a8d63a821933435756ef5f457d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e1fea6e39f5774809c9832ae355b57bcd139ef5f72b3270bc92dc3126454744f21c0447a245492a7071bc84c18458573846362effca7f102880337855caefa
|
7
|
+
data.tar.gz: cd6e91475163384eb1207865fd5df7cbec9a04aedfc70e5d6216902ca9b140339c7309d4c93249bf14185268796dc6e9b0fb0e1832b97d99cb7a44be294f4571
|
data/lib/culqi/charge.rb
CHANGED
@@ -10,8 +10,8 @@ module Culqi
|
|
10
10
|
|
11
11
|
@url = URL
|
12
12
|
|
13
|
-
def capture(id)
|
14
|
-
response = Culqi.connect(URL+id+"/capture/", Culqi.
|
13
|
+
def self.capture(id)
|
14
|
+
response = Culqi.connect(URL+id+"/capture/", Culqi.secret_key, nil, "post", Culqi::READ_TIMEOUT)
|
15
15
|
return response.read_body
|
16
16
|
end
|
17
17
|
|
data/lib/culqi/plan.rb
CHANGED
data/lib/culqi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: culqi-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willy Aguirre
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Biblioteca de Culqi en Ruby API v2
|
14
14
|
email:
|