Class: PermissionSettings::Patcher
- Inherits:
-
Object
- Object
- PermissionSettings::Patcher
- Defined in:
- lib/permission_settings/patcher.rb
Overview
Class that defines core functionality
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(klass) ⇒ Patcher
constructor
A new instance of Patcher.
Constructor Details
#initialize(klass) ⇒ Patcher
Returns a new instance of Patcher.
11 12 13 |
# File 'lib/permission_settings/patcher.rb', line 11 def initialize(klass) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
9 10 11 |
# File 'lib/permission_settings/patcher.rb', line 9 def klass @klass end |
Class Method Details
.call(klass) ⇒ Object
15 16 17 |
# File 'lib/permission_settings/patcher.rb', line 15 def self.call(klass) new(klass).call end |
Instance Method Details
#call ⇒ Object
19 20 21 22 |
# File 'lib/permission_settings/patcher.rb', line 19 def call setup_settings_interface setup_instance_verification end |