Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

spike: attr_protected access token, secret

  • Loading branch information...
commit 6c868a1f4ac856af161fc0bae2469181b40927ae 1 parent 26d2330
@jasonm jasonm authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 app/models/clearance_twitter/linked_user.rb
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.