module VkontakteAuthentication::Session
Public Class Methods
included(klass)
click to toggle source
# File lib/vkontakte/session.rb, line 3 def self.included(klass) klass.class_eval do include InstanceMethods validate :validate_by_vk_cookie, :if => :authenticating_with_vkontakte? before_destroy :destroy_vkontakte_cookies end end