mollie-api-ruby 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82a2fc08595dbb639ed9dc80dfcb6b567096d983
4
- data.tar.gz: 5ca8527244942c02f61e86ab17c20d96a18de248
3
+ metadata.gz: 0ec284eeb3ad861560f79224359db2b81d358c71
4
+ data.tar.gz: 8189a32dec6484191ed3e6e18c266af8f8774300
5
5
  SHA512:
6
- metadata.gz: ebe7489a40175d053ca21ea2888fa7a9ffc378366cea7de369d599cb6bf60c94eeaf28b68e0caa39381a6926ebb3800977adf00fce59d40490d09c4a3215ab12
7
- data.tar.gz: 927d5a3595b1cf64b6287fec5d18865778f83c1a4dcd83caa6d73304abe776a928edc7a296a902ac4bb61864e74757dbc233ad7673d8b512a48e9f7bc53fe33c
6
+ metadata.gz: 083c8066728ea429cb3c9556b9eecb881a9bcc1103dde77b95abb15d20ab99c9d99630c4a3fe7e82b733216283a7a1f4804f97de8289b1642664d40d49a4e309
7
+ data.tar.gz: 056a9182d27078ff5830d5f3254ee3ff2a57d66de09c38e13c804a8cf636c1ec3fd4967123c265bc9a2e03483ee1a73f056781912a74d4a502ac5d91fc38e1ef
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Mollie API client for Ruby #
4
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/), [PayPal](https://www.mollie.nl/betaaldiensten/paypal/), 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.
5
+ Accepting [iDEAL](https://www.mollie.com/nl/ideal), [Mister Cash](https://www.mollie.com/nl/mistercash), [Creditcard](https://www.mollie.com/nl/creditcard), [PayPal](https://www.mollie.com/nl/paypal), [Bank transfer](https://www.mollie.com/nl/banktransfer), [Bitcoin](https://www.mollie.com/nl/bitcoin), [SOFORT Banking](https://www.mollie.com/nl/sofort) and [paysafecard](https://www.mollie.com/nl/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
6
 
7
7
  ## Requirements ##
8
8
  To use the Mollie API client, the following things are required:
@@ -94,11 +94,13 @@ Copyright (c) 2014, Mollie B.V.
94
94
  ## Support ##
95
95
  Contact: [www.mollie.nl](http://www.mollie.nl) — info@mollie.nl — +31 20-612 88 55
96
96
 
97
- + [More information about iDEAL via Mollie](https://www.mollie.nl/betaaldiensten/ideal/)
98
- + [More information about Creditcard via Mollie](https://www.mollie.nl/betaaldiensten/creditcard/)
99
- + [More information about Mister Cash via Mollie](https://www.mollie.nl/betaaldiensten/mistercash/)
100
- + [More information about Bank transfer via Mollie](https://www.mollie.nl/betaaldiensten/overboeking/)
101
- + [More information about PayPal via Mollie](https://www.mollie.nl/betaaldiensten/paypal/)
102
- + [More information about paysafecard via Mollie](https://www.mollie.nl/betaaldiensten/paysafecard/)
97
+ + [More information about iDEAL via Mollie](https://www.mollie.com/nl/ideal)
98
+ + [More information about Creditcard via Mollie](https://www.mollie.com/nl/creditcard)
99
+ + [More information about Mister Cash via Mollie](https://www.mollie.com/nl/mistercash)
100
+ + [More information about Bank transfer via Mollie](https://www.mollie.com/nl/overboeking)
101
+ + [More information about PayPal via Mollie](https://www.mollie.com/nl/paypal)
102
+ + [More information about Bitcoin via Mollie](https://www.mollie.com/nl/bitcoin)
103
+ + [More information about SOFORT Banking via Mollie](https://www.mollie.com/nl/sofort)
104
+ + [More information about paysafecard via Mollie](https://www.mollie.com/nl/paysafecard)
103
105
 
104
106
  ![Powered By Mollie](http://www.mollie.nl/images/badge-betaling-medium.png)
@@ -10,7 +10,7 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # Generate a unique order id for this example. It is important to include this unique attribute
@@ -10,7 +10,7 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # Retrieve the payment's current state.
@@ -10,7 +10,7 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # First, let the customer pick the bank in a simple HTML form. This step is actually optional.
@@ -10,7 +10,7 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # Get the all payments for this API key ordered by newest.
@@ -10,7 +10,7 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # Get the all the activated methods for this API key.
@@ -10,12 +10,12 @@ begin
10
10
  # See: https://www.mollie.nl/beheer/account/profielen/
11
11
  #
12
12
  mollie = Mollie::API::Client.new
13
- mollie.setApiKey "test_bt7vvByF6jTcBR4dLuW66eNnHYNIJp"
13
+ mollie.setApiKey "test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"
14
14
 
15
15
  #
16
16
  # Retrieve the payment you want to refund from the API.
17
17
  #
18
- payment = mollie.payments.get "tr_dO6CPyCfoK"
18
+ payment = mollie.payments.get "tr_47uEE1su8q"
19
19
 
20
20
  #
21
21
  # Refund the payment.
@@ -17,7 +17,7 @@ require "rest_client"
17
17
  module Mollie
18
18
  module API
19
19
  class Client
20
- CLIENT_VERSION = "1.1.1"
20
+ CLIENT_VERSION = "1.1.2"
21
21
  API_ENDPOINT = "https://api.mollie.nl"
22
22
  API_VERSION = "v1"
23
23
 
@@ -8,6 +8,8 @@ module Mollie
8
8
  BANKTRANSFER = "banktransfer"
9
9
  PAYPAL = "paypal"
10
10
  PAYSAFECARD = "paysafecard"
11
+ BITCOIN = "bitcoin"
12
+ SOFORT = "sofort"
11
13
 
12
14
  attr_accessor :id,
13
15
  :description,
@@ -16,7 +16,7 @@ module Mollie
16
16
  :method,
17
17
  :createdDatetime,
18
18
  :paidDatetime,
19
- :epiredDatetime,
19
+ :expiredDatetime,
20
20
  :cancelledDatetime,
21
21
  :metadata,
22
22
  :details,
@@ -36,4 +36,4 @@ module Mollie
36
36
  end
37
37
  end
38
38
  end
39
- end
39
+ end
@@ -6,11 +6,12 @@ spec = Gem::Specification.new do |s|
6
6
  s.name = 'mollie-api-ruby'
7
7
  s.version = Mollie::API::Client::CLIENT_VERSION
8
8
  s.summary = 'Official Mollie API Client for Ruby'
9
- s.description = 'Accepting iDEAL, Mister Cash, Creditcard, PayPal, and paysafecard online payments without fixed monthly costs or any punishing registration procedures.'
9
+ s.description = 'Accepting iDEAL, Mister Cash, Creditcard, PayPal, Bank Transfer, Bitcoin, SOFORT Banking and paysafecard online payments without fixed monthly costs or any punishing registration procedures.'
10
10
  s.authors = ['Rick Wong']
11
11
  s.email = ['info@mollie.nl']
12
12
  s.homepage = 'https://github.com/mollie/mollie-api-ruby'
13
13
  s.license = 'BSD'
14
+ s.required_ruby_version = '>= 1.9.2'
14
15
 
15
16
  s.add_dependency('rest-client', '~> 1.6')
16
17
  s.add_dependency('json', '~> 1.8')
metadata CHANGED
@@ -1,52 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mollie-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Wong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.8'
41
- description: Accepting iDEAL, Mister Cash, Creditcard, PayPal, and paysafecard online
42
- payments without fixed monthly costs or any punishing registration procedures.
41
+ description: Accepting iDEAL, Mister Cash, Creditcard, PayPal, Bank Transfer, Bitcoin,
42
+ SOFORT Banking and paysafecard online payments without fixed monthly costs or any
43
+ punishing registration procedures.
43
44
  email:
44
45
  - info@mollie.nl
45
46
  executables: []
46
47
  extensions: []
47
48
  extra_rdoc_files: []
48
49
  files:
49
- - .gitignore
50
+ - ".gitignore"
50
51
  - LICENSE
51
52
  - README.mdown
52
53
  - examples/1-new-payment.rb
@@ -83,12 +84,12 @@ require_paths:
83
84
  - lib
84
85
  required_ruby_version: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - '>='
87
+ - - ">="
87
88
  - !ruby/object:Gem::Version
88
- version: '0'
89
+ version: 1.9.2
89
90
  required_rubygems_version: !ruby/object:Gem::Requirement
90
91
  requirements:
91
- - - '>='
92
+ - - ">="
92
93
  - !ruby/object:Gem::Version
93
94
  version: '0'
94
95
  requirements: []