Sha256: 2c6de3efcbdcb22f8fcbf4295fa4a6006b6159c41f8ca7c26ef874903b76a3d3
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
require "clark_kent/engine" module ClarkKent mattr_accessor :resource_options, :user_class_name, :other_sharing_scopes, :base_controller, :custom_report_links def self.config(options) @@resource_options = options[:resource_options] @@user_class_name = options[:user_class_name] @@other_sharing_scopes = options[:other_sharing_scopes] base_controller_name = options[:base_controller_name] @@base_controller = base_controller_name.constantize @@custom_report_links = options[:custom_report_links] end def self.user_class @@user_class = @@user_class_name.constantize end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clark_kent-0.0.1 | lib/clark_kent.rb |