Class: Hackle::Experiment
- Inherits:
-
Object
- Object
- Hackle::Experiment
- Defined in:
- lib/hackle-ruby-sdk/models/experiment.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(id, key) ⇒ Experiment
constructor
A new instance of Experiment.
Constructor Details
#initialize(id, key) ⇒ Experiment
Returns a new instance of Experiment.
5 6 7 8 |
# File 'lib/hackle-ruby-sdk/models/experiment.rb', line 5 def initialize(id, key) @id = id @key = key end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/experiment.rb', line 3 def id @id end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/experiment.rb', line 3 def key @key end |