Sha256: 4eaf2f7b09e59285ddbd937728c97e005616dcfa4276feea2f46de48a40e0bb0
Contents?: true
Size: 1.32 KB
Versions: 21
Compression:
Stored size: 1.32 KB
Contents
module KirguduBase module Security class AuthenticationConfig def initialize(options={}) self.layout_view_path = nil self.path_to_views = nil self.allow_facebook = false self.allow_twitter = false self.allow_google = false self.allow_vkontakte = false end def layout_view_path @layout_view_path end def layout_view_path= value @layout_view_path = value end def path_to_views @path_to_views end def path_to_views= value @path_to_views = value end def allow_facebook @allow_facebook end def allow_facebook= value @allow_facebook = value ? true : false end def allow_twitter @allow_twitter end def allow_twitter= value @allow_twitter = value ? true : false end def allow_google @allow_google end def allow_google= value @allow_google = value ? true : false end def allow_vkontakte @allow_vkontakte end def allow_vkontakte= value @allow_vkontakte = value ? true : false end def url_for_default_redirection_after_login @url_for_default_redirection_after_login end def url_for_default_redirection_after_login= value @url_for_default_redirection_after_login = value end def self.config ::KirguduBase::Security::AuthenticationConfig.instance end end end end
Version data entries
21 entries across 21 versions & 1 rubygems