Class: SplitIoClient::Engine::Models::FallbackTreatment
- Inherits:
-
Object
- Object
- SplitIoClient::Engine::Models::FallbackTreatment
- Defined in:
- lib/splitclient-rb/engine/models/fallback_treatment.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#label ⇒ Object
Returns the value of attribute label.
-
#treatment ⇒ Object
Returns the value of attribute treatment.
Instance Method Summary collapse
-
#initialize(treatment, config = nil, label = nil) ⇒ FallbackTreatment
constructor
A new instance of FallbackTreatment.
Constructor Details
#initialize(treatment, config = nil, label = nil) ⇒ FallbackTreatment
5 6 7 8 9 |
# File 'lib/splitclient-rb/engine/models/fallback_treatment.rb', line 5 def initialize(treatment, config=nil, label=nil) @treatment = treatment @config = config @label = label end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/splitclient-rb/engine/models/fallback_treatment.rb', line 3 def config @config end |
#label ⇒ Object
Returns the value of attribute label.
3 4 5 |
# File 'lib/splitclient-rb/engine/models/fallback_treatment.rb', line 3 def label @label end |
#treatment ⇒ Object
Returns the value of attribute treatment.
3 4 5 |
# File 'lib/splitclient-rb/engine/models/fallback_treatment.rb', line 3 def treatment @treatment end |