diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c939ad..a0961a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. +### 4.3.1 - 2019-06-08 + + - Added the option to pass additional request options when creating a new resource. + #### 4.2 - 2019-05-01 - Removed the Bitcoin payment method. diff --git a/lib/mollie/base.rb b/lib/mollie/base.rb index c6f4e62..1aff3b5 100644 --- a/lib/mollie/base.rb +++ b/lib/mollie/base.rb @@ -14,8 +14,8 @@ def assign_attributes(attributes) end class << self - def create(data = {}) - request('POST', nil, data) do |response| + def create(data = {}, options = {}) + request('POST', nil, data, options) do |response| new(response) end end diff --git a/lib/mollie/version.rb b/lib/mollie/version.rb index f8dfb87..97578e4 100644 --- a/lib/mollie/version.rb +++ b/lib/mollie/version.rb @@ -1,3 +1,3 @@ module Mollie - VERSION = '4.3.0'.freeze + VERSION = '4.3.1'.freeze end