Skip to content

Instantly share code, notes, and snippets.

View earnold's full-sized avatar

Evan Arnold earnold

  • Get Weatherized, Inc.
View GitHub Profile
# config/initializers/omniauth.rb
module OmniAuth
module Strategies
# tell OmniAuth to load our strategy
autoload :Pixelation, 'lib/pixelation_strategy'
end
end
Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, "app_name", "secret"
class BlackHoleStore
def logger
Rails.logger
end
def fetch( *args )
yield
end
def read( *args )