Permalink
Browse files

used full namespace to prepare for switching to module

  • Loading branch information...
1 parent 863d98a commit 46c0916446838adefd2e2002c5dc6586e55fcd0d Jordan Glasner committed Apr 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nimble_nodes/server.rb
View
2 lib/nimble_nodes/server.rb
@@ -10,7 +10,7 @@ class Server
def self.get(path)
begin
path = NimbleNodes::App.path(path)
- uri = uri_with_token(path)
+ uri = NimbleNodes::Server.uri_with_token(path)
path = uri.route_from(NimbleNodes::Server.url[0..-2]).to_s
request = Net::HTTP::Get.new(path)
return Net::HTTP.start(uri.host, uri.port) {|http| http.request(request)}.body

0 comments on commit 46c0916

Please sign in to comment.