Skip to content

Commit

Permalink
Merge pull request #13 from marcinx/master
Browse files Browse the repository at this point in the history
* Ruby 3 compatibility fix
  • Loading branch information
marcinx authored Oct 1, 2022
2 parents 014152f + 05bc5e4 commit 5553779
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/lib/coinqvest_merchant_sdk/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Client
# @param secret; as given by https://www.coinqvest.com/en/api-settings
# @param log_file; optional log file path
# @constructor
def initialize(key, secret, log_file = NIL)
def initialize(key, secret, log_file = nil)

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

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

end

Expand Down
2 changes: 1 addition & 1 deletion src/lib/coinqvest_merchant_sdk/config.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CoinqvestMerchantSDK

CLIENT_VERSION = '0.0.5'
CLIENT_VERSION = '0.0.6'

CLIENT_NAME = 'ruby_merchant_sdk'

Expand Down

0 comments on commit 5553779

Please sign in to comment.