Sha256: 66cbcea155e9664aadd23fa54459896a88486f645b48b1d8778d3b193bdd8cf5
Contents?: true
Size: 480 Bytes
Versions: 9
Compression:
Stored size: 480 Bytes
Contents
# coding: utf-8 class Authentication < ActiveRecord::Base validates_presence_of :provider, :uid attr_accessible :user_id, :provider, :uid, :name, :email belongs_to :user xss_terminate class << self def providers [ ["facebook", "Facebook"], ["vkontakte", "Vkontakte"], ["odnoklassniki", "Odnoklassniki"] # ['twitter', 'Twitter'], # ['github', 'Github'], # ['google_oauth2', 'Google'] ] end end end
Version data entries
9 entries across 9 versions & 1 rubygems