Skip to content

Commit

Permalink
Merge pull request #69 from sobrinho/fix-rest-client-warnings
Browse files Browse the repository at this point in the history
Fixed RestClient warnings
  • Loading branch information
daria-lamberson authored Sep 5, 2017
2 parents b3dd58d + f50ae2f commit a36a024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shippo/api/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def execute
private

def shippo_phone_home
payload = {}
payload = nil
request_url = url
(method == :get) ? request_url = params_to_url(params, url) : payload = params.to_json
setup_headers!(headers)
Expand Down

0 comments on commit a36a024

Please sign in to comment.