sisow_ideal 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sisow_ideal.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Johan van Zonneveld
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,62 @@
1
+ ## Sisow iDeal [![Build Status](https://secure.travis-ci.org/jhnvz/sisow_ideal.png?branch=master)](http://travis-ci.org/jhnvz/sisow_ideal)
2
+
3
+ Wrapper for the sisow ideal api
4
+
5
+ Installation
6
+ ------------
7
+
8
+ 1. Add `gem 'sisow_ideal'` to your Gemfile.
9
+ 1. Run `bundle install`.
10
+
11
+ ## Usage
12
+ ```ruby
13
+ # for production
14
+ client = SisowIdeal::Client.new(:merchantid => 12345, :merchantkey => '5a48c58eabfcb4c')
15
+
16
+ # testmode
17
+ client = SisowIdeal::Client.new(:merchantid => 12345, :merchantkey => '5a48c58eabfcb4c', :test => true)
18
+
19
+ # Example of how to get the banklist and populate a selectbox
20
+ @banks = client.banklist
21
+ = select_tag :bank_id, options_for_select(@banks)
22
+
23
+ # How to setup a payment
24
+ response = client.setup_transaction(
25
+ :issuerid => '01',
26
+ :purchaseid => '12345',
27
+ :entrancecode => '1',
28
+ :shopid => '1',
29
+ :amount => 210,
30
+ :description => "Test description",
31
+ :returnurl => 'http://test.com/return',
32
+ :callbackurl => 'http://test.com/callback',
33
+ :notifyurl => 'http://test.com/notify'
34
+ )
35
+ order.update_attributes(:trxid => response.trxid)
36
+ redirect_to response.url
37
+
38
+ # How to handle report on the report url
39
+ # For safety reasons mollie calls a report url for updating payment status before redirecting back to the application
40
+ order = Order.find_by_trxid(params[:trxid])
41
+ response = client.status_request(
42
+ :trxid => order.trxid,
43
+ :shopid => '1'
44
+ )
45
+ order.update_attributes(:status => response.status)
46
+
47
+ # When mollie redirects the user back you can check if the payment was succesfull bij finding the order object
48
+ @order = Order.find_by_trxid(params[:trxid])
49
+ ```
50
+ ## Note on Patches/Pull Requests
51
+
52
+ * Fork the project.
53
+ * Make your feature addition or bug fix.
54
+ * Add tests for it. This is important so I don't break it in a
55
+ future version unintentionally.
56
+ * Commit, do not mess with rakefile, version, or history.
57
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
58
+ * Send me a pull request. Bonus points for topic branches.
59
+
60
+ ## Copyright
61
+
62
+ Copyright (c) 2012 Johan van Zonneveld. See LICENSE for details.
@@ -0,0 +1,5 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
@@ -0,0 +1,7 @@
1
+ require 'httparty'
2
+ require 'hashie'
3
+ require 'cgi'
4
+
5
+ require 'sisow_ideal/version'
6
+ require 'sisow_ideal/client'
7
+ require 'sisow_ideal/sisow_exception'
@@ -0,0 +1,88 @@
1
+ module SisowIdeal
2
+ class Client
3
+ include HTTParty
4
+ base_uri 'https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx'
5
+
6
+ def initialize(options = {})
7
+ required_options(options, :merchantid, :merchantkey)
8
+
9
+ @options = options
10
+ end
11
+
12
+ ## Get the banklist
13
+ def banklist
14
+ response = Hashie::Mash.new(
15
+ self.class.get('/DirectoryRequest',
16
+ :query => @options,
17
+ :format => :xml
18
+ ).parsed_response).directoryresponse.directory.issuer
19
+
20
+ response.kind_of?(Array) ? response.map { |b| [b.issuername, b.issuerid] } : [response.issuername, response.issuerid]
21
+ end
22
+
23
+ ## Setup a transaction
24
+ def setup_transaction(options = {})
25
+ required_options(options, :issuerid, :amount, :description, :returnurl, :callbackurl, :notifyurl, :purchaseid)
26
+
27
+ sha1 = [
28
+ options.fetch(:purchaseid),
29
+ options.fetch(:entrancecode),
30
+ options.fetch(:amount),
31
+ options.fetch(:shopid),
32
+ @options.fetch(:merchantid),
33
+ @options.fetch(:merchantkey)
34
+ ].join
35
+
36
+ response = Hashie::Mash.new(
37
+ self.class.get('/TransactionRequest',
38
+ :query => merge_query(options, sha1),
39
+ :format => :xml
40
+ ).parsed_response)
41
+
42
+ begin
43
+ return Hashie::Mash.new(
44
+ :url => CGI.unescape(response.transactionrequest.transaction.issuerurl),
45
+ :trxid => response.transactionrequest.transaction.trxid
46
+ )
47
+ rescue
48
+ raise SisowIdeal::SisowException.new(response.errorresponse.error.errorcode, CGI.unescape(response.errorresponse.error.errormessage))
49
+ end
50
+ end
51
+
52
+ def status_request(options = {})
53
+ required_options(options, :trxid, :shopid)
54
+
55
+ sha1 = [
56
+ options.fetch(:trxid),
57
+ options.fetch(:shopid),
58
+ @options.fetch(:merchantid),
59
+ @options.fetch(:merchantkey)
60
+ ].join
61
+
62
+ response = Hashie::Mash.new(
63
+ self.class.get('/StatusRequest',
64
+ :query => merge_query(options, sha1),
65
+ :format => :xml
66
+ ).parsed_response)
67
+
68
+ begin
69
+ return response.statusresponse.transaction
70
+ rescue
71
+ raise SisowIdeal::SisowException.new(response.errorresponse.error.errorcode, CGI.unescape(response.errorresponse.error.errormessage))
72
+ end
73
+ end
74
+
75
+ private
76
+
77
+ # Merge options in query
78
+ def merge_query(hash, sha1)
79
+ @options.merge!(hash).merge!(:sha1 => Digest::SHA1.hexdigest(sha1))
80
+ end
81
+
82
+ def required_options(options, *args)
83
+ args.each do |key|
84
+ raise ArgumentError.new("No #{key.to_s} supplied") unless options.has_key?(key)
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,11 @@
1
+ module SisowIdeal
2
+ class SisowException < Exception
3
+ attr_accessor :errorcode
4
+ attr_accessor :message
5
+
6
+ def initialize(errorcode, message)
7
+ self.errorcode = errorcode
8
+ self.message = message
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module SisowIdeal
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,28 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sisow_ideal/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "sisow_ideal"
8
+ gem.version = SisowIdeal::VERSION
9
+ gem.authors = ["Johan van Zonneveld"]
10
+ gem.email = ["johan@vzonneveld.nl"]
11
+ gem.homepage = 'https://github.com/jhnvz/sisow_ideal.git'
12
+ gem.summary = %q{wrapper for the sisow ideal api}
13
+ gem.description = %q{A simple Ruby implementation for handeling iDeal transactions with the Sisow API}
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_development_dependency "bundler", ">= 1.0.0"
21
+ gem.add_development_dependency "rake"
22
+ gem.add_development_dependency "rspec", "~> 2.3"
23
+ gem.add_development_dependency 'webmock'
24
+ gem.add_development_dependency 'vcr'
25
+
26
+ gem.add_dependency 'httparty', '~> 0.8.0'
27
+ gem.add_dependency 'hashie'
28
+ end
@@ -0,0 +1,75 @@
1
+ require 'spec_helper'
2
+
3
+ describe SisowIdeal::Client do
4
+
5
+ before(:each) { @client = SisowIdeal::Client.new(:merchantid => 12345, :merchantkey => '5a48c58eabfcb4c') }
6
+
7
+ describe :banklist do
8
+
9
+ subject { @client }
10
+
11
+ use_vcr_cassette "banklist"
12
+
13
+ its(:banklist) { should == [
14
+ ["ABN Amro Bank", "01"],
15
+ ["ASN Bank", "02"],
16
+ ["Friesland Bank", "04"],
17
+ ["ING", "05"],
18
+ ["Rabobank", "06"],
19
+ ["SNS Bank", "07"],
20
+ ["RegioBank", "08"],
21
+ ["Triodos Bank", "09"],
22
+ ["Van Lanschot Bankiers", "10"],
23
+ ["Knab", "11"]]
24
+ }
25
+
26
+ end
27
+
28
+ describe :setup_transaction do
29
+
30
+ use_vcr_cassette "setup_transaction"
31
+
32
+ context 'missing options' do
33
+
34
+ it { expect { @client.setup_transaction({}) }.to raise_error(ArgumentError) }
35
+
36
+ end
37
+
38
+ subject { @client.setup_transaction(
39
+ :issuerid => '01',
40
+ :purchaseid => '12345',
41
+ :entrancecode => '1',
42
+ :shopid => '1',
43
+ :amount => 210,
44
+ :description => "Test description",
45
+ :returnurl => 'http://test.com/return',
46
+ :callbackurl => 'http://test.com/callback',
47
+ :notifyurl => 'http://test.com/notify'
48
+ ) }
49
+
50
+ its(:trxid) { should == '0050001157723256' }
51
+ its(:url) { should == 'https://www.abnamro.nl/nl/ideal/identification.do?randomizedstring=3722692644&trxid=50001157723256' }
52
+
53
+ end
54
+
55
+ describe :status_request do
56
+
57
+ use_vcr_cassette "status_request"
58
+
59
+ context 'missing options' do
60
+
61
+ it { expect { @client.status_request({}) }.to raise_error(ArgumentError) }
62
+
63
+ end
64
+
65
+ subject { @client.status_request(
66
+ :trxid => '0050001157723256',
67
+ :shopid => '1'
68
+ ) }
69
+
70
+ its(:status) { should == 'Open' }
71
+
72
+ end
73
+
74
+
75
+ end
@@ -0,0 +1,41 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/DirectoryRequest?merchantid=12345&merchantkey=5a48c58eabfcb4c
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Cache-Control:
16
+ - private
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Server:
20
+ - Microsoft-IIS/7.0
21
+ X-Aspnet-Version:
22
+ - 2.0.50727
23
+ X-Powered-By:
24
+ - ASP.NET
25
+ Date:
26
+ - Thu, 13 Dec 2012 19:29:04 GMT
27
+ Content-Length:
28
+ - '906'
29
+ body:
30
+ encoding: US-ASCII
31
+ string: <?xml version="1.0" encoding="UTF-8"?><directoryresponse xmlns="https://www.sisow.nl/Sisow/REST"
32
+ version="1.0.0"><directory><issuer><issuerid>01</issuerid><issuername>ABN
33
+ Amro Bank</issuername></issuer><issuer><issuerid>02</issuerid><issuername>ASN
34
+ Bank</issuername></issuer><issuer><issuerid>04</issuerid><issuername>Friesland
35
+ Bank</issuername></issuer><issuer><issuerid>05</issuerid><issuername>ING</issuername></issuer><issuer><issuerid>06</issuerid><issuername>Rabobank</issuername></issuer><issuer><issuerid>07</issuerid><issuername>SNS
36
+ Bank</issuername></issuer><issuer><issuerid>08</issuerid><issuername>RegioBank</issuername></issuer><issuer><issuerid>09</issuerid><issuername>Triodos
37
+ Bank</issuername></issuer><issuer><issuerid>10</issuerid><issuername>Van Lanschot
38
+ Bankiers</issuername></issuer><issuer><issuerid>11</issuerid><issuername>Knab</issuername></issuer></directory></directoryresponse>
39
+ http_version:
40
+ recorded_at: Thu, 13 Dec 2012 19:29:05 GMT
41
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,36 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/TransactionRequest?amount=210&callbackurl=http://test.com/callback&description=Test%20description&entrancecode=1&issuerid=01&merchantid=1&merchantkey=1&notifyurl=http://test.com/notify&purchaseid=12345&returnurl=http://test.com/return&sha1=650f930505007aef19c214f8f6b9f22370c6399b&shopid=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Cache-Control:
16
+ - private
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Server:
20
+ - Microsoft-IIS/7.0
21
+ X-Aspnet-Version:
22
+ - 2.0.50727
23
+ X-Powered-By:
24
+ - ASP.NET
25
+ Date:
26
+ - Thu, 13 Dec 2012 20:00:03 GMT
27
+ Content-Length:
28
+ - '216'
29
+ body:
30
+ encoding: US-ASCII
31
+ string: <?xml version="1.0" encoding="UTF-8"?><errorresponse xmlns="https://www.sisow.nl/Sisow/REST"
32
+ version="1.0.0"><error><errorcode>TA3220</errorcode><errormessage>Merchant
33
+ not found</errormessage></error></errorresponse>
34
+ http_version:
35
+ recorded_at: Thu, 13 Dec 2012 20:00:04 GMT
36
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,35 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/TransactionRequest?amount=210&callbackurl=http://test.com/callback&description=Test%20description&entrancecode=1&issuerid=01&merchantid=12345&merchantkey=5a48c58eabfcb4c&notifyurl=http://test.com/notify&purchaseid=12345&returnurl=http://test.com/return&sha1=cfecd1fbb67fb1aa3422ef038047ce271c5fc01d&shopid=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Cache-Control:
16
+ - private
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Server:
20
+ - Microsoft-IIS/7.0
21
+ X-Aspnet-Version:
22
+ - 2.0.50727
23
+ X-Powered-By:
24
+ - ASP.NET
25
+ Date:
26
+ - Thu, 13 Dec 2012 19:38:59 GMT
27
+ Content-Length:
28
+ - '410'
29
+ body:
30
+ encoding: US-ASCII
31
+ string: <?xml version="1.0" encoding="UTF-8"?><transactionrequest xmlns="https://www.sisow.nl/Sisow/REST"
32
+ version="1.0.0"><transaction><issuerurl>https%3a%2f%2fwww.abnamro.nl%2fnl%2fideal%2fidentification.do%3frandomizedstring%3d3722692644%26trxid%3d50001157723256</issuerurl><trxid>0050001157723256</trxid></transaction><signature><sha1>72b7abf1fca017f3729ae2033139da52231aa411</sha1></signature></transactionrequest>
33
+ http_version:
34
+ recorded_at: Thu, 13 Dec 2012 19:38:59 GMT
35
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,37 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/StatusRequest?merchantid=12345&merchantkey=5a48c58eabfcb4c&sha1=3ff9e82399fdaa16e8af4bb4cc97b2c4604d079a&shopid=1&trxid=0050001157723256
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Cache-Control:
16
+ - private
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Server:
20
+ - Microsoft-IIS/7.0
21
+ X-Aspnet-Version:
22
+ - 2.0.50727
23
+ X-Powered-By:
24
+ - ASP.NET
25
+ Date:
26
+ - Thu, 13 Dec 2012 19:52:10 GMT
27
+ Content-Length:
28
+ - '575'
29
+ body:
30
+ encoding: US-ASCII
31
+ string: <?xml version="1.0" encoding="UTF-8"?><statusresponse xmlns="https://www.sisow.nl/Sisow/REST"
32
+ version="1.0.0"><transaction><trxid>0050001157723256</trxid><status>Open</status><amount>210</amount><purchaseid>12345</purchaseid><description>Test
33
+ description</description><entrancecode>1</entrancecode><issuerid>ABN Amro
34
+ Bank</issuerid><timestamp>2012-12-13 20:38:58Z</timestamp><consumername></consumername><consumeraccount></consumeraccount><consumercity></consumercity></transaction><signature><sha1>7f81002085f6023c069e0e9bc6456e0ee6148064</sha1></signature></statusresponse>
35
+ http_version:
36
+ recorded_at: Thu, 13 Dec 2012 19:52:11 GMT
37
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe SisowIdeal::SisowException do
4
+
5
+ before(:each) { @client = SisowIdeal::Client.new(:merchantid => 1, :merchantkey => '1') }
6
+
7
+ describe :banklist do
8
+
9
+ use_vcr_cassette "errorresponse"
10
+
11
+ it { expect { @client.setup_transaction(
12
+ :issuerid => '01',
13
+ :purchaseid => '12345',
14
+ :entrancecode => '1',
15
+ :shopid => '1',
16
+ :amount => 210,
17
+ :description => "Test description",
18
+ :returnurl => 'http://test.com/return',
19
+ :callbackurl => 'http://test.com/callback',
20
+ :notifyurl => 'http://test.com/notify'
21
+ ) }.to raise_error(SisowIdeal::SisowException) }
22
+
23
+ end
24
+
25
+ end
@@ -0,0 +1,14 @@
1
+ require 'sisow_ideal'
2
+ require 'vcr'
3
+
4
+ extend VCR::RSpec::Macros
5
+
6
+ VCR.configure do |c|
7
+ c.cassette_library_dir = 'spec/fixtures/cassettes'
8
+ c.hook_into :webmock
9
+ c.ignore_hosts '127.0.0.1', 'localhost'
10
+ end
11
+
12
+ RSpec.configure do |c|
13
+ c.extend VCR::RSpec::Macros
14
+ end
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sisow_ideal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Johan van Zonneveld
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.0.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '2.3'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.3'
62
+ - !ruby/object:Gem::Dependency
63
+ name: webmock
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: vcr
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: httparty
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 0.8.0
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.8.0
110
+ - !ruby/object:Gem::Dependency
111
+ name: hashie
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: A simple Ruby implementation for handeling iDeal transactions with the
127
+ Sisow API
128
+ email:
129
+ - johan@vzonneveld.nl
130
+ executables: []
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - .gitignore
135
+ - Gemfile
136
+ - LICENSE.txt
137
+ - README.md
138
+ - Rakefile
139
+ - lib/sisow_ideal.rb
140
+ - lib/sisow_ideal/client.rb
141
+ - lib/sisow_ideal/sisow_exception.rb
142
+ - lib/sisow_ideal/version.rb
143
+ - sisow_ideal.gemspec
144
+ - spec/client_spec.rb
145
+ - spec/fixtures/cassettes/banklist.yml
146
+ - spec/fixtures/cassettes/errorresponse.yml
147
+ - spec/fixtures/cassettes/setup_transaction.yml
148
+ - spec/fixtures/cassettes/status_request.yml
149
+ - spec/sisow_exception_spec.rb
150
+ - spec/spec_helper.rb
151
+ homepage: https://github.com/jhnvz/sisow_ideal.git
152
+ licenses: []
153
+ post_install_message:
154
+ rdoc_options: []
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 1.8.24
172
+ signing_key:
173
+ specification_version: 3
174
+ summary: wrapper for the sisow ideal api
175
+ test_files:
176
+ - spec/client_spec.rb
177
+ - spec/fixtures/cassettes/banklist.yml
178
+ - spec/fixtures/cassettes/errorresponse.yml
179
+ - spec/fixtures/cassettes/setup_transaction.yml
180
+ - spec/fixtures/cassettes/status_request.yml
181
+ - spec/sisow_exception_spec.rb
182
+ - spec/spec_helper.rb