Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding twitterdispatch as a submodule.

  • Loading branch information...
commit c469455e0734a7ee416c4111632b46b62e62a5c5 1 parent ec91ad3
@mbleigh authored
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "lib/twitterdispatch"]
+ path = lib/twitterdispatch
+ url = git://github.com/mbleigh/twitterdispatch.git
View
6 lib/twitter_auth.rb
@@ -54,6 +54,12 @@ def self.basic?
strategy == :basic
end
+ # The dispatcher is the TwitterDispatch instance
+ # used to relay all requests to the Twitter API.
+ def self.dispatcher
+
+ end
+
# The OAuth consumer used by TwitterAuth for authentication. The consumer key and secret are set in your application's +config/twitter.yml+
def self.consumer
OAuth::Consumer.new(
1  lib/twitterdispatch
@@ -0,0 +1 @@
+Subproject commit 796971e18a8e91b4a4530a38e83f07373c12459f
View
1  rails/init.rb
@@ -4,5 +4,6 @@
require 'json'
require 'twitter_auth'
+require 'twitterdispatch/lib/twitterdispatch'
RAILS_DEFAULT_LOGGER.info("** TwitterAuth initialized properly.")
Please sign in to comment.
Something went wrong with that request. Please try again.