inpay 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/VERSION +1 -1
- data/inpay.gemspec +2 -2
- data/lib/inpay/postback.rb +5 -5
- metadata +4 -4
data/README.markdown
CHANGED
@@ -69,7 +69,7 @@ These are nonmandatory:
|
|
69
69
|
- :buyer_name
|
70
70
|
- :buyer_address _(street, zip code, city, state, country)_
|
71
71
|
- :buyer_information _(free text field where you can put information that could be relevant to the customer)_
|
72
|
-
- :
|
72
|
+
- :extra_your_param _(those parameters will be added to the return url without the "extra" prefix)_
|
73
73
|
|
74
74
|
### Handling a postback in your controller
|
75
75
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/inpay.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{inpay}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Wout Fierens"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-05}
|
13
13
|
s.description = %q{An API wrapper for the inpay.com payment system}
|
14
14
|
s.email = %q{wout@boysabroad.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/inpay/postback.rb
CHANGED
@@ -59,12 +59,12 @@ module Inpay
|
|
59
59
|
error.nil?
|
60
60
|
end
|
61
61
|
|
62
|
+
def status
|
63
|
+
@status ||= (params[:invoice_status] ? params[:invoice_status].to_sym : nil)
|
64
|
+
end
|
65
|
+
|
62
66
|
private
|
63
|
-
|
64
|
-
def status
|
65
|
-
@status ||= (params[:invoice_status] ? params[:invoice_status].to_sym : nil)
|
66
|
-
end
|
67
|
-
|
67
|
+
|
68
68
|
# Take the posted data and move the relevant data into a hash
|
69
69
|
def parse post
|
70
70
|
@raw = post
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Wout Fierens
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-03-05 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -149,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
hash:
|
152
|
+
hash: -211943807301645299
|
153
153
|
segments:
|
154
154
|
- 0
|
155
155
|
version: "0"
|