Skip to content

Commit

Permalink
[Corrected] Style/StringConcatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
san983 committed Sep 7, 2020
1 parent 439d0b6 commit db83435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dnsimple/client/registrar_whois_privacy.rb
Expand Up @@ -78,7 +78,7 @@ def disable_whois_privacy(account_id, domain_name, options = {})
#
# @raise [RequestError] When the request fails.
def renew_whois_privacy(account_id, domain_name, options = {})
endpoint = whois_privacy_endpoint(account_id, domain_name) + "/renewals"
endpoint = "#{whois_privacy_endpoint(account_id, domain_name)}/renewals"
response = client.post(endpoint, nil, options)

Dnsimple::Response.new(response, Struct::WhoisPrivacyRenewal.new(response["data"]))
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -7,7 +7,7 @@
Coveralls.wear!
end

$:.unshift(File.dirname(__FILE__) + '/lib')
$:.unshift("#{File.dirname(__FILE__)}/lib")
require 'dnsimple'

unless defined?(SPEC_ROOT)
Expand Down

0 comments on commit db83435

Please sign in to comment.