This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

spike: attr_protected access token, secret

  • Loading branch information...
1 parent 26d2330 commit 6c868a1f4ac856af161fc0bae2469181b40927ae @jasonm jasonm committed Mar 14, 2010
Showing with 3 additions and 5 deletions.
  1. +3 −5 app/models/clearance_twitter/linked_user.rb
@@ -7,12 +7,10 @@ module LinkedUser
]
def self.included(model)
- # TODO Unit test the following
- # base.class_eval do
- # attr_protected :access_token, :access_secret
- # end
-
model.class_eval do
+ # TODO Unit test the attr_protected
+ attr_protected :access_token, :access_secret
+
extend ClearanceTwitter::LinkedUser::ClassMethods
include ClearanceTwitter::LinkedUser::InstanceMethods
end

0 comments on commit 6c868a1

Please sign in to comment.