Permalink
Browse files

Convert class var to class ivar

  • Loading branch information...
1 parent 648ad96 commit 7623c5a1c5ed9565c20a4baa30251f3ecc9c5ea0 @lmarburger lmarburger committed Nov 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/domain.rb
View
@@ -8,9 +8,9 @@ class Domain < OpenStruct
class NotFound < StandardError; end
def self.base_uri
- @@base_uri
+ @base_uri
end
- @@base_uri = ENV.fetch 'CLOUDAPP_DOMAIN', 'api.cld.me'
+ @base_uri = ENV.fetch 'CLOUDAPP_DOMAIN', 'api.cld.me'
def self.find(domain)
Domain.new Yajl::Parser.parse(fetch_domain_content(domain))

0 comments on commit 7623c5a

Please sign in to comment.