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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ad2c11e9d328321081b1a112f04953add5c4991
4
- data.tar.gz: de50a7fb512e8c258720949c9e67526ce564ddee
3
+ metadata.gz: 19c84b5edfb476e7e777f0a28b35e3fa9011484e
4
+ data.tar.gz: a3538c40335201a8d63a821933435756ef5f457d
5
5
  SHA512:
6
- metadata.gz: ceddcb8a4f4d968f255e602645c8b9561833d674311c2958de3b614b475b2ded14e7abb469e1fa670a81e887986a46d3c1bea335ea7de8559e3a3352065ba44d
7
- data.tar.gz: 5316dbf54c9c260580f4e1208f3069adbad73eed2221e9bb32fcbcb9a70c2fc625f8b3c28130640262c37c918f30133f22e72a4b965b0d5444c8c0cf3ed612a4
6
+ metadata.gz: 92e1fea6e39f5774809c9832ae355b57bcd139ef5f72b3270bc92dc3126454744f21c0447a245492a7071bc84c18458573846362effca7f102880337855caefa
7
+ data.tar.gz: cd6e91475163384eb1207865fd5df7cbec9a04aedfc70e5d6216902ca9b140339c7309d4c93249bf14185268796dc6e9b0fb0e1832b97d99cb7a44be294f4571
@@ -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.api_key, nil, "post")
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
 
@@ -5,6 +5,7 @@ module Culqi
5
5
  extend List
6
6
  extend Post
7
7
  extend Get
8
+ extend Delete
8
9
 
9
10
  URL = '/plans/'
10
11
 
@@ -1,3 +1,3 @@
1
1
  module Culqi
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-22 00:00:00.000000000 Z
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: