Class: Flagsmith::Flags::DefaultFlag
- Defined in:
- lib/flagsmith/sdk/models/flags.rb
Overview
Flag class to be used by default handler logic
Instance Attribute Summary
Attributes inherited from BaseFlag
Instance Method Summary collapse
-
#initialize(enabled:, value:) ⇒ DefaultFlag
constructor
A new instance of DefaultFlag.
Methods inherited from BaseFlag
Constructor Details
#initialize(enabled:, value:) ⇒ DefaultFlag
Returns a new instance of DefaultFlag.
28 29 30 |
# File 'lib/flagsmith/sdk/models/flags.rb', line 28 def initialize(enabled:, value:) super(enabled: enabled, value: value, default: true) end |