diff --git a/src/lib/ruby_hlr_client/client.rb b/src/lib/ruby_hlr_client/client.rb index ce87de7..3ee526f 100644 --- a/src/lib/ruby_hlr_client/client.rb +++ b/src/lib/ruby_hlr_client/client.rb @@ -16,7 +16,7 @@ class Client # @param secret; as given by https://www.hlr-lookups.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.hlr-lookups.com/en/api-settings @key = key @@ -36,8 +36,8 @@ def initialize(key, secret, log_file = NIL) # @string HLR Lookup connect url @connect_url = HlrLookupsSDK::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 diff --git a/src/lib/ruby_hlr_client/config.rb b/src/lib/ruby_hlr_client/config.rb index 88f7a8e..8ed66d3 100644 --- a/src/lib/ruby_hlr_client/config.rb +++ b/src/lib/ruby_hlr_client/config.rb @@ -1,6 +1,6 @@ module HlrLookupsSDK - CLIENT_VERSION = '2.0.1' + CLIENT_VERSION = '2.0.2' CLIENT_NAME = 'ruby_hlr_client'