Skip to content

Commit

Permalink
Allow setting Yadis::XRI::ProxyResolver::DEFAULT_PROXY premptively, o…
Browse files Browse the repository at this point in the history
…utside of the class definition. Useful for iname-based communities running their own resolver.
  • Loading branch information
mmell committed Feb 22, 2011
1 parent 701c42d commit 49f838b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/yadis/xrires.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class XRIHTTPError < StandardError; end

class ProxyResolver

DEFAULT_PROXY = 'http://proxy.xri.net/'
DEFAULT_PROXY ||= 'http://proxy.xri.net/'

def initialize(proxy_url=nil)
if proxy_url
Expand Down

0 comments on commit 49f838b

Please sign in to comment.