Class: Cline::GlobalState::AutoApproval::AutoApprovalSettings
- Inherits:
-
Schema
- Object
- Shale::Mapper
- Schema
- Cline::GlobalState::AutoApproval::AutoApprovalSettings
- Defined in:
- lib/cline/global_state/auto_approval.rb
Overview
Auto approval configuration settings
Defined Under Namespace
Classes: AutoApprovalActions
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#actions ⇒ AutoApprovalActions
Action toggles.
-
#enable_notifications ⇒ Boolean
Enable notifications.
-
#enabled ⇒ Boolean
Auto approval enabled flag.
-
#favorites ⇒ Array<String>
Favorite approval entries.
-
#max_requests ⇒ Integer
Maximum allowed requests.
-
#version ⇒ Integer
Configuration version.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#actions ⇒ AutoApprovalActions
Returns Action toggles.
39 |
# File 'lib/cline/global_state/auto_approval.rb', line 39 attribute :actions, AutoApprovalActions |
#enable_notifications ⇒ Boolean
Returns Enable notifications.
54 |
# File 'lib/cline/global_state/auto_approval.rb', line 54 attribute :enable_notifications, :boolean |
#enabled ⇒ Boolean
Returns Auto approval enabled flag.
42 |
# File 'lib/cline/global_state/auto_approval.rb', line 42 attribute :enabled, :boolean |
#favorites ⇒ Array<String>
Returns Favorite approval entries.
48 |
# File 'lib/cline/global_state/auto_approval.rb', line 48 attribute :favorites, Utils::Schema.collection(:string) |
#max_requests ⇒ Integer
Returns Maximum allowed requests.
51 |
# File 'lib/cline/global_state/auto_approval.rb', line 51 attribute :max_requests, :integer |
#version ⇒ Integer
Returns Configuration version.
45 |
# File 'lib/cline/global_state/auto_approval.rb', line 45 attribute :version, :integer |