Class: Flagsmith::Flags::DefaultFlag
- Defined in:
- lib/flagsmith/sdk/models/flags.rb
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.
26 27 28 |
# File 'lib/flagsmith/sdk/models/flags.rb', line 26 def initialize(enabled:, value:) super(enabled: enabled, value: value, default: true) end |