mollie-api-ruby 4.1.0 → 4.1.1

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
  SHA256:
3
- metadata.gz: f94d074aceda8fa4e7e541274aa0310d6dd414e80764f57bae3a2eaa604cc3dc
4
- data.tar.gz: 74c99d214bd5f014134fc667e4aeff19cfec559b3d748dc64bfa7fac1b375fd4
3
+ metadata.gz: fa48b8e1742ed446122f9e2bdc0d883de6d1204af8d535a6b108a1235ab6da6c
4
+ data.tar.gz: 05dae67cfb92ee8cbae92f78a7d2cc41b91a3bda95a591bd515239ea3a37c2ee
5
5
  SHA512:
6
- metadata.gz: 1fc8639da1239db004daa99c723193cf0f56e8c82790267698d61d5597d49d8ec03a7bd338033be98644459d27cb8512810f47eac83ec205d000a34266bc7cbe
7
- data.tar.gz: 4c13bc4d8756cd9a4c2701b4a04a037865fca7a8458865897f177af16a57ea97a4e883ca9c1096867646b501dbfbb9ecc83052431b7a53535f1dc38111aefee1
6
+ metadata.gz: 442d9f9d45013c5ef1cbc03096e90d0cf78a4a92e116687bab282432c342e83d64b47eb120d2909181f62562fe23ec2004ced9968f72f8d2078c0c02323cb341
7
+ data.tar.gz: c5179a4a28677bf31b8a129e20e76298b1536d97146723ab88337d32e659a00e2f63a40e5e0f00b37c2b576cd3258691161e0e0230a3517f3bc8ed728a31ad22
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  All notable changes to this project will be documented in this file.
6
6
 
7
+ #### 4.1 - 2018-10-08
8
+
9
+ - Add Capture, Order, and Shipment APIs (#92)
10
+
7
11
  #### 4.0 - 2018-07-23
8
12
 
9
13
  - Migrated to the v2 API
@@ -74,6 +74,10 @@ module Mollie
74
74
  status == STATUS_AUTHORIZED
75
75
  end
76
76
 
77
+ def cancelable?
78
+ is_cancelable
79
+ end
80
+
77
81
  def application_fee=(application_fee)
78
82
  amount = Amount.new(application_fee['amount'])
79
83
  description = application_fee['description']
@@ -1,3 +1,3 @@
1
1
  module Mollie
2
- VERSION = '4.1.0'.freeze
2
+ VERSION = '4.1.1'.freeze
3
3
  end
@@ -73,6 +73,7 @@ module Mollie
73
73
  assert_equal 'https://webshop.example.org/payments/webhook', payment.webhook_url
74
74
  assert_equal 'https://webshop.example.org/order/12345', payment.redirect_url
75
75
  assert_equal 'https://www.mollie.com/payscreen/select-method/7UhSN1zuXS', payment.checkout_url
76
+ assert_equal false, payment.cancelable?
76
77
  end
77
78
 
78
79
  def test_status_open
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mollie-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mollie B.V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-08 00:00:00.000000000 Z
11
+ date: 2018-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake