activewepay 1.0.6 → 1.0.7

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: 93b5fb5fe6adf5ed7d9d878d12161f56c724d0ba
4
- data.tar.gz: 5906da096c32e2e2e0bf84c03d356e9a72f6dc7f
3
+ metadata.gz: 782a1890263ae12c2345dfbc3cfcb61dd92886fb
4
+ data.tar.gz: d40c74b864d24a4b960297cf9b8e031d6326ec3e
5
5
  SHA512:
6
- metadata.gz: e5c74204c50f667a98456e617856a3a214d628bdc2b98a50a2838e23e53d946c8c8f5de19c3e306957ea544d5dff712d71f3d9825bb8d877c6071d734e873186
7
- data.tar.gz: 4a5c389899105232e25b77fad1fffb9bf754f80eba7a0e1e28efa236d995f8b35d6609362494c84b1b1c1f0f7d4c789ffa3d8777ddd0a30e3dbb3c3ea464c1c2
6
+ metadata.gz: 99ad40598306a16f52a05e069cf0d3aca4402e575ab76d60d3057a126005b09e1eb4b64b87928d17a395773046995fbc2de808cc0d0c87840831980a94b7546e
7
+ data.tar.gz: 65a30fbb6469df232c1705a88522b55e377e00a55d3e6d1773075cf0d4a723f3ec2f7d188b2b13abfbf6f3a9322a08c5fddf846289d400e74ccd658486a746e4
@@ -1,3 +1,3 @@
1
1
  module Activewepay
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
data/lib/activewepay.rb CHANGED
@@ -71,6 +71,8 @@ module ActiveWepay
71
71
  self
72
72
  end
73
73
 
74
+ private
75
+
74
76
  def set_instance_variables(hash)
75
77
  hash.each do |key, value|
76
78
  instance_variable_set "@#{key}".to_sym, value rescue false
@@ -188,7 +190,7 @@ module ActiveWepay
188
190
  @recurring = self.new(options)
189
191
 
190
192
  @recurring.call('/preapproval/', @recurring.oauth_token, {
191
- preapproval_id: id
193
+ preapproval_id: @recurring.id
192
194
  })
193
195
  end
194
196
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activewepay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Asher Cohen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-23 00:00:00.000000000 Z
11
+ date: 2013-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel