Sha256: 0ef09fa1e37da847dbdde8ca7b5edbf85d70a084127f50f65f88d90ad01980a8
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
require 'oauth/models/consumers/token' class ConsumerToken include Mongoid::Document include Mongoid::Timestamps include Oauth::Models::Consumers::Token field :token, :type => String field :secret, :type => String index :token, :unique => true referenced_in :user end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oauth-plugin-0.4.0.pre2 | lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb |
oauth-plugin-0.4.0.pre1 | lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb |