sisow 1.1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.rdoc +0 -4
- data/lib/sisow/api/callback.rb +8 -0
- data/lib/sisow/version.rb +1 -1
- data/spec/models/callback_spec.rb +10 -0
- metadata +3 -2
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
= Sisow
|
2
2
|
{<img src="https://secure.travis-ci.org/marceldegraaf/sisow.png" />}[http://travis-ci.org/marceldegraaf/sisow]
|
3
3
|
|
4
|
-
*WARNING* There is an issue in the <tt>httparty</tt> gem that breaks the <tt>debug_mode</tt> of this Sisow gem. The only work-around at this time is to not enable <tt>debug_mode</tt>. I'll keep an eye on the <tt>httparty</tt> issue and update the Readme if anything changes. Sorry for the inconvenience.
|
5
|
-
|
6
|
-
-------
|
7
|
-
|
8
4
|
This gem provides an interface to interact with the Sisow payment provider. Sisow offers payments through the iDeal (Dutch),
|
9
5
|
Bancontact/Mister Cash (Belgian) and Sofort (German) online payment systems.
|
10
6
|
|
data/lib/sisow/api/callback.rb
CHANGED
data/lib/sisow/version.rb
CHANGED
@@ -68,6 +68,16 @@ describe Sisow::Api::Callback do
|
|
68
68
|
@callback.status = 'Failure'
|
69
69
|
@callback.failure?.should == true
|
70
70
|
end
|
71
|
+
|
72
|
+
it "should be pending" do
|
73
|
+
@callback.status = 'Pending'
|
74
|
+
@callback.pending?.should == true
|
75
|
+
end
|
76
|
+
|
77
|
+
it "should be reversed" do
|
78
|
+
@callback.status = 'Reversed'
|
79
|
+
@callback.reversed?.should == true
|
80
|
+
end
|
71
81
|
end
|
72
82
|
|
73
83
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sisow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.2'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httpi
|
@@ -235,3 +235,4 @@ test_files:
|
|
235
235
|
- spec/sisow.yml.example
|
236
236
|
- spec/spec_helper.rb
|
237
237
|
- spec/vcr_setup.rb
|
238
|
+
has_rdoc:
|