Module: Authhub::ClassMethods
- Defined in:
- lib/authhub/helper.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_with_authhub(app, options = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/authhub/helper.rb', line 10 def authenticate_with_authhub(app, = {}) cattr_accessor :authhub_options self. = { :server => "authhub.com", :authserver => "authhub.com", :app => app} self..merge!() send :include, InstanceMethods before_filter :auth_with_authhub end |