wirecardmapper 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/wirecardmapper.rb
CHANGED
@@ -46,6 +46,13 @@ describe 'Request' do
|
|
46
46
|
response.return_code.to_i.should eql(0)
|
47
47
|
response.return_message.should eql('Successful system entry.')
|
48
48
|
end
|
49
|
-
|
49
|
+
|
50
|
+
it "should change card status" do
|
51
|
+
response = WirecardMapper.change_card_status(:card_id => '47ae07020a010018157db66065da6e5c', :status_code => 'cancelled')
|
52
|
+
response.ok?.should be_true
|
53
|
+
response.return_code.to_i.should eql(0)
|
54
|
+
response.return_message.should eql('Successful system entry.')
|
55
|
+
end
|
56
|
+
|
50
57
|
end
|
51
58
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wirecardmapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 8
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.8.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexander Klaiber
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-03 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- templates/update_card_info.xml
|
79
79
|
- templates/submit_payment.xml
|
80
80
|
- templates/main.xml
|
81
|
+
- templates/change_card_status.xml
|
81
82
|
- templates/get_payment_info.xml
|
82
83
|
has_rdoc: true
|
83
84
|
homepage: http://github.com/aklaiber/wirecardmapper
|