Sha256: 2aed79d45955014d4ed1503cde71b380203483d50a9b140cd0e4d306704749e8

Contents?: true

Size: 182 Bytes

Versions: 8

Compression:

Stored size: 182 Bytes

Contents

class AccessToken < OauthToken
  validates_presence_of :user
  before_create :set_authorized_at
  
  protected 
  
  def set_authorized_at
    self.authorized_at = Time.now
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
pelle-oauth-plugin-0.3.5 generators/oauth_provider/templates/access_token.rb
pelle-oauth-plugin-0.3.6 generators/oauth_provider/templates/access_token.rb
pelle-oauth-plugin-0.3.7 generators/oauth_provider/templates/access_token.rb
pelle-oauth-plugin-0.3.8 generators/oauth_provider/templates/access_token.rb
oauth-plugin-0.3.7 generators/oauth_provider/templates/access_token.rb
oauth-plugin-0.3.5 generators/oauth_provider/templates/access_token.rb
oauth-plugin-0.3.6 generators/oauth_provider/templates/access_token.rb
oauth-plugin-0.3.8 generators/oauth_provider/templates/access_token.rb