Proxies to the actual endpoint classes
9 10 11 12 13 14
# File 'lib/twat/endpoint.rb', line 9 def self.new(endpoint) @implementation = { :twitter => Endpoints::Twitter, :"identi.ca" => Endpoints::Identica }[endpoint].new end