Sha256: a8427ab43981333fc9aafba188656ca6ffd342b3137494c8b15547bc3f5f4fe8
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
module Approval def self.config @config ||= Config.new end def self.configure yield config end def self.init! user_model = Approval.config.user_class_name.safe_constantize if user_model ::Approval::Request.define_user_association ::Approval::Comment.define_user_association end end end require "approval/config" require "approval/engine" if defined?(::Rails) require "approval/version"
Version data entries
8 entries across 8 versions & 1 rubygems