Sha256: 48f89151a475732f511792e56186278b2e322ec14b78f30ea069b8f6c1a7cf4b
Contents?: true
Size: 564 Bytes
Versions: 8
Compression:
Stored size: 564 Bytes
Contents
# -*- coding: utf-8 -*- module MultiAuth class << self attr_accessor_with_default :application_name, 'app' attr_accessor_with_default :from_address, 'noreply@example.com' attr_accessor_with_default :user_model, 'User' attr_accessor_with_default :session_times_out_in, 1.hour def setup yield self end end def self.user_model_class user_model.constantize end def self.root Pathname.new(File.join(File.dirname(__FILE__), '../')) end end require 'multi_auth/action_controller' require 'multi_auth/active_record'
Version data entries
8 entries across 8 versions & 2 rubygems