Module: Zuul::ActiveRecord::AuthorizationMethods
- Defined in:
- lib/zuul/active_record.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
151 152 153 154 155 156 157 |
# File 'lib/zuul/active_record.rb', line 151 def self.included(base) base.class.send :attr_reader, :auth_scopes base.class.send :attr_reader, :current_auth_scope base.send :instance_variable_set, :@current_auth_scope, :default base.send :extend, ClassMethods base.send :include, InstanceMethods end |