Skip to content

Commit 5553779

Browse files
authored
Merge pull request #13 from marcinx/master
* Ruby 3 compatibility fix
2 parents 014152f + 05bc5e4 commit 5553779

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/coinqvest_merchant_sdk/client.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Client
1616
# @param secret; as given by https://www.coinqvest.com/en/api-settings
1717
# @param log_file; optional log file path
1818
# @constructor
19-
def initialize(key, secret, log_file = NIL)
19+
def initialize(key, secret, log_file = nil)
2020

2121
# @string The API Key as given by https://www.coinqvest.com/en/api-settings
2222
@key = key
@@ -36,8 +36,8 @@ def initialize(key, secret, log_file = NIL)
3636
# @string COINQVEST connect url
3737
@connect_url = CoinqvestMerchantSDK::CONNECT_URL
3838

39-
# @string|NIL Specifies the log file to which to write, if any.
40-
@log_file = log_file ? log_file : NIL
39+
# @string|nil Specifies the log file to which to write, if any.
40+
@log_file = log_file ? log_file : nil
4141

4242
end
4343

src/lib/coinqvest_merchant_sdk/config.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module CoinqvestMerchantSDK
22

3-
CLIENT_VERSION = '0.0.5'
3+
CLIENT_VERSION = '0.0.6'
44

55
CLIENT_NAME = 'ruby_merchant_sdk'
66

0 commit comments

Comments
 (0)