lib/frenchy.rb in frenchy-0.2.2 vs lib/frenchy.rb in frenchy-0.2.3

- old
+ new

@@ -14,10 +14,10 @@ class_eval do @services = {} end def self.register_service(name, options={}) - @services[name.to_s] = Frenchy::Client.new(options) + @services[name.to_s] = Frenchy::Client.new(name, options) end def self.find_service(name) @services[name.to_s] || raise(Frenchy::Error, "No service '#{name}' registered") end