mollie-ruby 0.1.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f2ddd5345adc0e656b61334bdf89dabf46ae80a
4
+ data.tar.gz: 0730c68b44c3378e2286cf000eb884d1d1c1cef1
5
+ SHA512:
6
+ metadata.gz: adbe66a522ce7f2a62d7be0c298209c01ddd0697b0375cb4d8bcd9a88d28f7bfc101da9547ca4836af3ffeab8cffff3a3793c6999295469314d1f6983c1ae42a
7
+ data.tar.gz: 51b17c14446d239917126b96af0c142c66613a4932148d6471e60aa976a4084a071b8858d56e85f7c20f6e3e392a8f12bfca4318f4e0028857f75d8047362be4
data/.gitignore ADDED
@@ -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/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mollie.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Peter Berkenbosch
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.
data/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # Mollie API client for Ruby
2
+
3
+ [![wercker status](https://app.wercker.com/status/a8cb5d924bf5a477b7e7b0b971a51470/m/master "wercker status")](https://app.wercker.com/project/bykey/a8cb5d924bf5a477b7e7b0b971a51470)
4
+
5
+ Accepting [iDEAL](https://www.mollie.nl/betaaldiensten/ideal/), [Mister Cash](https://www.mollie.nl/betaaldiensten/mistercash/), [Creditcard](https://www.mollie.nl/betaaldiensten/creditcard/), and [paysafecard](https://www.mollie.nl/betaaldiensten/paysafecard/) online payments without fixed monthly costs or any punishing registration procedures. Just use the Mollie API to receive payments directly on your website.
6
+
7
+ ## Requirements
8
+ To use the Mollie API client, the following things are required:
9
+
10
+ + Get yourself a free [Mollie account](https://www.mollie.nl/aanmelden). No sign up costs.
11
+ + Create a new [Website profile](https://www.mollie.nl/beheer/account/profielen/) to generate API keys (live and test mode) and setup your webhook.
12
+ + Now you're ready to use the Mollie API client in test mode.
13
+ + In order to accept payments in live mode, payment methods must be activated in your account. Follow [a few of steps](https://www.mollie.nl/beheer/diensten), and let us handle the rest.
14
+
15
+ ## Installation
16
+
17
+ Add this line to your application's Gemfile:
18
+
19
+ gem 'mollie-ruby', github: 'pero-ict-solutions/mollie-ruby', require: 'mollie'
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ ## Usage
26
+
27
+ the most basic way of getting paid is to prepare the payment on the Mollie server and then redirect the user to the provided `paymentUrl`. Make sure you store the payment `id` for further references. When the user makes a payment, Mollie will call the provided `redirect_url` webhook with the `id` as the POST parameter.
28
+
29
+ ### Prepare payment
30
+
31
+ ```ruby
32
+ amount = 99.99
33
+ description = "My Cool product"
34
+ redirect_url = "http://mystore.com/orders/update"
35
+ client = Mollie::Client.new(api_key)
36
+ response = client.prepare_payment(amount, description, redirect_url)
37
+ payment_id = response["id"]
38
+ redirect_to response["links"]["paymentUrl"]
39
+ ```
40
+
41
+ ### Get status
42
+
43
+ ```ruby
44
+ client = Mollie::Client.new(api_key)
45
+ response = client.payment_status(payment_id)
46
+ response["status"]
47
+ ```
48
+
49
+ ## Contributing
50
+
51
+ 1. Fork it
52
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
53
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
54
+ 4. Push to the branch (`git push origin my-new-feature`)
55
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,53 @@
1
+ require 'httparty'
2
+ require 'json'
3
+
4
+ module Mollie
5
+ class Client
6
+ include HTTParty
7
+ base_uri 'https://api.mollie.nl/v1'
8
+ format :json
9
+ attr_accessor :api_key
10
+
11
+ def initialize(api_key)
12
+ self.api_key = api_key
13
+ end
14
+
15
+ def auth_token
16
+ "Bearer " + self.api_key
17
+ end
18
+
19
+ def prepare_payment(amount, description, redirect_url, metadata = {})
20
+ response = self.class.post('/payments',
21
+ :body => {
22
+ :amount => amount,
23
+ :description => description,
24
+ :redirectUrl => redirect_url,
25
+ :metadata => metadata
26
+ },
27
+ :headers => {
28
+ 'Authorization' => auth_token
29
+ }
30
+ )
31
+ JSON.parse(response.body)
32
+ end
33
+
34
+ def payment_status(payment_id)
35
+ response = self.class.get("/payments/#{payment_id}",
36
+ :headers => {
37
+ 'Authorization' => auth_token
38
+ }
39
+ )
40
+ JSON.parse(response.body)
41
+ end
42
+
43
+ def refund_payment(payment_id)
44
+ response = self.class.post("/payments/#{payment_id}/refunds",
45
+ :headers => {
46
+ 'Authorization' => auth_token
47
+ }
48
+ )
49
+ JSON.parse(response.body)
50
+ end
51
+
52
+ end
53
+ end
@@ -0,0 +1,3 @@
1
+ module Mollie
2
+ VERSION = "0.1.0"
3
+ end
data/lib/mollie.rb ADDED
@@ -0,0 +1,2 @@
1
+ require "mollie/version"
2
+ require "mollie/client"
data/mollie.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mollie/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mollie-ruby"
8
+ spec.version = Mollie::VERSION
9
+ spec.authors = ["Peter Berkenbosch"]
10
+ spec.email = ["peter@pero-ict.nl"]
11
+ spec.description = %q{Ruby API Client for Mollie}
12
+ spec.summary = spec.description
13
+ spec.homepage = "https://github.com/pero-ict-solutions/mollie"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "httparty"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency 'rspec'
26
+ spec.add_development_dependency 'vcr'
27
+ spec.add_development_dependency 'webmock'
28
+ spec.add_development_dependency 'simplecov'
29
+ end
@@ -0,0 +1,54 @@
1
+ require 'spec_helper'
2
+
3
+ describe Mollie::Client do
4
+
5
+ let(:api_key) { "test_6zjmE6z9SRyzUs7hRbl7AY6MU5jFoW" }
6
+
7
+ context '#prepare' do
8
+
9
+ it "will setup the payment on mollie" do
10
+
11
+ VCR.use_cassette('prepare_payment') do
12
+ client = Mollie::Client.new(api_key)
13
+ amount = 99.99
14
+ description = "My fantastic product"
15
+ redirect_url = "http://localhost:3000/payments/1/update"
16
+ response = client.prepare_payment(amount, description, redirect_url, {:order_id => "R232454365"})
17
+
18
+ expect(response["id"]).to eql "tr_ALc7B2h9UM"
19
+ expect(response["mode"]).to eql "test"
20
+ expect(response["status"]).to eql "open"
21
+ expect(response["amount"]).to eql "99.99"
22
+ expect(response["description"]).to eql description
23
+
24
+ expect(response["metadata"]["order_id"]).to eql "R232454365"
25
+
26
+ expect(response["links"]["paymentUrl"]).to eql "https://www.mollie.nl/payscreen/pay/ALc7B2h9UM"
27
+ expect(response["links"]["redirectUrl"]).to eql redirect_url
28
+ end
29
+ end
30
+ end
31
+
32
+ context 'status' do
33
+ context 'when payment is paid' do
34
+ it "returns the paid status" do
35
+ VCR.use_cassette('get_status_paid') do
36
+ client = Mollie::Client.new(api_key)
37
+ response = client.payment_status("tr_8NQDMOE7EC")
38
+ expect(response["status"]).to eql "paid"
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ context "refund" do
45
+ it "refunds the payment" do
46
+ VCR.use_cassette('refund payment') do
47
+ client = Mollie::Client.new(api_key)
48
+ response = client.refund_payment("tr_8NQDMOE7EC")
49
+ expect(response["payment"]["status"]).to eql "refunded"
50
+ end
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,27 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ require 'mollie'
5
+ require 'vcr'
6
+
7
+ # This file was generated by the `rspec --init` command. Conventionally, all
8
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
9
+ # Require this file using `require "spec_helper"` to ensure that it is only
10
+ # loaded once.
11
+ #
12
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
13
+ RSpec.configure do |config|
14
+ config.run_all_when_everything_filtered = true
15
+ config.filter_run :focus
16
+
17
+ # Run specs in random order to surface order dependencies. If you find an
18
+ # order dependency and want to debug it, you can fix the order by providing
19
+ # the seed, which is printed after each run.
20
+ # --seed 1234
21
+ config.order = 'random'
22
+ end
23
+
24
+ VCR.configure do |c|
25
+ c.cassette_library_dir = 'spec/vcr_cassettes'
26
+ c.hook_into :webmock # or :fakeweb
27
+ end
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.mollie.nl/v1/payments/tr_8NQDMOE7EC
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Bearer test_6zjmE6z9SRyzUs7hRbl7AY6MU5jFoW
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Server:
18
+ - nginx
19
+ Date:
20
+ - Tue, 12 Aug 2014 12:33:39 GMT
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ Content-Length:
24
+ - '403'
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Credentials:
28
+ - 'true'
29
+ Access-Control-Allow-Methods:
30
+ - GET, POST, HEAD, OPTIONS, DELETE
31
+ Access-Control-Max-Age:
32
+ - '300'
33
+ Strict-Transport-Security:
34
+ - max-age=31556926; includeSubDomains
35
+ X-Whom:
36
+ - dc1-web-1
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"id":"tr_8NQDMOE7EC","mode":"test","createdDatetime":"2014-08-12T12:27:26.0Z","status":"paid","paidDatetime":"2014-08-12T12:33:23.0Z","amount":"99.99","description":"My
40
+ fantastic product","method":"ideal","metadata":null,"details":{"consumerName":"T.
41
+ TEST","consumerAccount":"NL17RABO0213698412","consumerBic":"TESTNL99"},"locale":"nl","links":{"redirectUrl":"http://localhost:3000/payments/1/update"}}'
42
+ http_version:
43
+ recorded_at: Tue, 12 Aug 2014 12:33:39 GMT
44
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.mollie.nl/v1/payments
6
+ body:
7
+ encoding: UTF-8
8
+ string: amount=99.99&description=My%20fantastic%20product&redirectUrl=http%3A%2F%2Flocalhost%3A3000%2Fpayments%2F1%2Fupdate&metadata[order_id]=R232454365
9
+ headers:
10
+ Authorization:
11
+ - Bearer test_6zjmE6z9SRyzUs7hRbl7AY6MU5jFoW
12
+ response:
13
+ status:
14
+ code: 201
15
+ message: Created
16
+ headers:
17
+ Server:
18
+ - nginx
19
+ Date:
20
+ - Tue, 12 Aug 2014 14:16:33 GMT
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ Content-Length:
24
+ - '366'
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Credentials:
28
+ - 'true'
29
+ Access-Control-Allow-Methods:
30
+ - GET, POST, HEAD, OPTIONS, DELETE
31
+ Access-Control-Max-Age:
32
+ - '300'
33
+ Strict-Transport-Security:
34
+ - max-age=31556926; includeSubDomains
35
+ X-Whom:
36
+ - dc1-web-1
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"id":"tr_ALc7B2h9UM","mode":"test","createdDatetime":"2014-08-12T14:16:33.0Z","status":"open","expiryPeriod":"PT15M","amount":"99.99","description":"My
40
+ fantastic product","method":null,"metadata":{"order_id":"R232454365"},"details":null,"links":{"paymentUrl":"https://www.mollie.nl/payscreen/pay/ALc7B2h9UM","redirectUrl":"http://localhost:3000/payments/1/update"}}'
41
+ http_version:
42
+ recorded_at: Tue, 12 Aug 2014 14:16:34 GMT
43
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.mollie.nl/v1/payments/tr_8NQDMOE7EC/refunds
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Bearer test_6zjmE6z9SRyzUs7hRbl7AY6MU5jFoW
12
+ response:
13
+ status:
14
+ code: 201
15
+ message: Created
16
+ headers:
17
+ Server:
18
+ - nginx
19
+ Date:
20
+ - Tue, 12 Aug 2014 14:11:32 GMT
21
+ Content-Type:
22
+ - application/json; charset=utf-8
23
+ Content-Length:
24
+ - '514'
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Credentials:
28
+ - 'true'
29
+ Access-Control-Allow-Methods:
30
+ - GET, POST, HEAD, OPTIONS, DELETE
31
+ Access-Control-Max-Age:
32
+ - '300'
33
+ Strict-Transport-Security:
34
+ - max-age=31556926; includeSubDomains
35
+ X-Whom:
36
+ - dc1-web-2
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"id":"re_O5sCpw4kwb","payment":{"id":"tr_8NQDMOE7EC","mode":"test","createdDatetime":"2014-08-12T12:27:26.0Z","status":"refunded","expiryPeriod":"PT","amount":"99.99","description":"My
40
+ fantastic product","method":"ideal","metadata":null,"details":{"consumerName":"T.
41
+ TEST","consumerAccount":"NL17RABO0213698412","consumerBic":"TESTNL99"},"locale":"nl","links":{"redirectUrl":"http://localhost:3000/payments/1/update"}},"amountRefunded":"99.99","amountRemaining":"0.00","refundedDatetime":"2014-08-12T14:11:32.0Z"}'
42
+ http_version:
43
+ recorded_at: Tue, 12 Aug 2014 14:11:32 GMT
44
+ recorded_with: VCR 2.9.2
data/wercker.yml ADDED
@@ -0,0 +1,25 @@
1
+ box: wercker/rvm
2
+ # Build definition
3
+ build:
4
+ # The steps that will be executed on build
5
+ # See the Ruby section on the wercker devcenter:
6
+ # http://devcenter.wercker.com/articles/languages/ruby.html
7
+ steps:
8
+ # Uncomment this to force RVM to use a specific Ruby version
9
+ # - rvm-use:
10
+ # version: 2.1.3
11
+
12
+ # A step that executes `bundle install` command
13
+ - bundle-install
14
+
15
+ # A custom script step, name value is used in the UI
16
+ # and the code value contains the command that get executed
17
+ - script:
18
+ name: echo ruby information
19
+ code: |
20
+ echo "ruby version $(ruby --version) running"
21
+ echo "from location $(which ruby)"
22
+ echo -p "gem list: $(gem list)"
23
+ - script:
24
+ name: rspec
25
+ code: bundle exec rspec
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mollie-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Peter Berkenbosch
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Ruby API Client for Mollie
112
+ email:
113
+ - peter@pero-ict.nl
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - lib/mollie.rb
125
+ - lib/mollie/client.rb
126
+ - lib/mollie/version.rb
127
+ - mollie.gemspec
128
+ - spec/mollie/client_spec.rb
129
+ - spec/spec_helper.rb
130
+ - spec/vcr_cassettes/get_status_paid.yml
131
+ - spec/vcr_cassettes/prepare_payment.yml
132
+ - spec/vcr_cassettes/refund_payment.yml
133
+ - wercker.yml
134
+ homepage: https://github.com/pero-ict-solutions/mollie
135
+ licenses:
136
+ - MIT
137
+ metadata: {}
138
+ post_install_message:
139
+ rdoc_options: []
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ requirements: []
153
+ rubyforge_project:
154
+ rubygems_version: 2.2.2
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: Ruby API Client for Mollie
158
+ test_files:
159
+ - spec/mollie/client_spec.rb
160
+ - spec/spec_helper.rb
161
+ - spec/vcr_cassettes/get_status_paid.yml
162
+ - spec/vcr_cassettes/prepare_payment.yml
163
+ - spec/vcr_cassettes/refund_payment.yml