Skip to content

Commit

Permalink
Fix syntax when reading URL in options
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Breton committed Jun 5, 2017
1 parent 886a46a commit 4e50aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mailjet/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def change_resource_path(options = {})
perform_api_call = options[:perform_api_call]
end
if options.key?(:url)
url = options['url']
url = options[:url]
end
end
ret = {version: ver, url: url, perform_api_call: perform_api_call}
Expand Down

0 comments on commit 4e50aff

Please sign in to comment.