Permalink
Browse files

Please add content.

  • Loading branch information...
1 parent 9399265 commit ffc5ef6c81dda891550041dc0ad04b55b487775b @kalasjocke committed May 4, 2009
View
@@ -0,0 +1 @@
+require 'authlogic_facebook_connect'
@@ -0,0 +1,6 @@
+# require "authlogic_facebook_connect/version"
+require "authlogic_facebook_connect/acts_as_authentic"
+require "authlogic_facebook_connect/session"
+
+ActiveRecord::Base.send(:include, AuthlogicFacebookConnect::ActsAsAuthentic)
+Authlogic::Session::Base.send(:include, AuthlogicFacebookConnect::Session)
@@ -0,0 +1,22 @@
+module AuthlogicFacebookConnect
+ module ActsAsAuthentic
+ def self.included(base)
+ base.class_eval do
+ extend Config
+
+ add_acts_as_authentic_module(Methods, :prepend)
+ end
+ end
+
+ module Config
+ end
+
+ module Methods
+ def self.included(base)
+ base.class_eval do
+ # validations
+ end
+ end
+ end
+ end
+end
@@ -0,0 +1,20 @@
+module AuthlogicFacebookConnect
+ module Session
+ def self.included(base)
+ base.class_eval do
+ extend Config
+ include Methods
+ end
+ end
+
+ module Config
+ end
+
+ module Methods
+ def self.included(base)
+ base.class_eval do
+ end
+ end
+ end
+ end
+end
No changes.

0 comments on commit ffc5ef6

Please sign in to comment.