Update notifiers to use new ActionMailer API
[rails.git] / app / models / access_token.rb
1 class AccessToken<OauthToken
2   validates_presence_of :user
3   before_create :set_authorized_at
4   
5 protected 
6   
7   def set_authorized_at
8     self.authorized_at = Time.now
9   end
10 end