mollie-api-ruby 1.4.0 → 1.4.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
  SHA1:
3
- metadata.gz: 76802b11edfb963aaf04831f9a89df8c1dd199ef
4
- data.tar.gz: 17967bc3837b5508da8ac6d201d35c1757f50e07
3
+ metadata.gz: 4bde82c98c498c8ca61537728123db07cff7cee9
4
+ data.tar.gz: 963decb7487ea4b12495cdc05e9daaf61977929b
5
5
  SHA512:
6
- metadata.gz: 639230a40324be5713e4774b7f2b1443c353cfe1372031b05f7972efc1e74f86daa435c46df8b6cc7dba196a7a5c204f73e7fe13d8c99542d21d49dd541b1cb4
7
- data.tar.gz: 8298f7e326c2a2af7f2856279d58b8f3ac4d2fa405e4f63fb1e82320ce90701c469035f7b83924ed7a46a84ca03e4b5f31045e198c871b17650a5be86015663b
6
+ metadata.gz: bbef7872c78e1b383d4401d16436dae4ee2cbfe32e56407c7847384c6e9f1213362b3e911f2f3e138dfb6a98fd5627be5eb53b01c0dfa3ebffebbb4a4b75a4ed
7
+ data.tar.gz: 48d2c6ad1eb1450ab673be445ccc85e519527f17a91bf839d487382a6b060746f318d1b4566e761ac7943511e7ca970df32f6e2351393653d2095ee3ec0c7947
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
 
7
7
 
8
+ #### v1.4.1 - 2016-06-20
9
+ - Added `refunded?` method.
10
+
8
11
  #### v1.4.0 - 2016-06-16
9
12
  - Added Subscriptions API.
10
13
 
@@ -1,7 +1,7 @@
1
1
  module Mollie
2
2
  module API
3
3
  class Client
4
- CLIENT_VERSION = "1.4.0"
4
+ CLIENT_VERSION = "1.4.1"
5
5
  end
6
6
  end
7
7
  end
@@ -8,6 +8,7 @@ module Mollie
8
8
  STATUS_PAID = "paid"
9
9
  STATUS_PAIDOUT = "paidout"
10
10
  STATUS_FAILED = "failed"
11
+ STATUS_REFUNDED = "refunded"
11
12
 
12
13
  RECURRINGTYPE_NONE = nil
13
14
  RECURRINGTYPE_FIRST = "first"
@@ -52,6 +53,10 @@ module Mollie
52
53
  @status == STATUS_PAIDOUT
53
54
  end
54
55
 
56
+ def refunded?
57
+ @status == STATUS_REFUNDED
58
+ end
59
+
55
60
  def getPaymentUrl
56
61
  @links && @links.paymentUrl
57
62
  end
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: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Wong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-16 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client