Skip to content

Commit

Permalink
Merge pull request #125 from basvodde/master
Browse files Browse the repository at this point in the history
Initialized @Proxy with nil to remove warning
  • Loading branch information
guilleiguaran authored and rafaelfranca committed Nov 30, 2015
1 parent 08e2bef commit ba4196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_resource/connection.rb
Expand Up @@ -33,7 +33,7 @@ def requests
# attribute to the URI for the remote resource service.
def initialize(site, format = ActiveResource::Formats::JsonFormat)
raise ArgumentError, 'Missing site URI' unless site
@user = @password = nil
@proxy = @user = @password = nil
self.site = site
self.format = format
end
Expand Down

0 comments on commit ba4196b

Please sign in to comment.