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.
13 14 15 |
# File 'lib/permission_settings/patcher.rb', line 13 def initialize(klass) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
11 12 13 |
# File 'lib/permission_settings/patcher.rb', line 11 def klass @klass end |
Class Method Details
.call(klass) ⇒ Object
17 18 19 |
# File 'lib/permission_settings/patcher.rb', line 17 def self.call(klass) new(klass).call end |
Instance Method Details
#call ⇒ Object
21 22 23 24 25 26 |
# File 'lib/permission_settings/patcher.rb', line 21 def call setup_settings_interface setup_instance_verification end |