Class: Hackle::Variation
- Inherits:
-
Object
- Object
- Hackle::Variation
- Defined in:
- lib/hackle-ruby-sdk/models/variation.rb
Instance Attribute Summary collapse
-
#dropped ⇒ Object
readonly
Returns the value of attribute dropped.
-
#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, dropped) ⇒ Variation
constructor
A new instance of Variation.
Constructor Details
#initialize(id, key, dropped) ⇒ Variation
Returns a new instance of Variation.
5 6 7 8 9 |
# File 'lib/hackle-ruby-sdk/models/variation.rb', line 5 def initialize(id, key, dropped) @id = id @key = key @dropped = dropped end |
Instance Attribute Details
#dropped ⇒ Object (readonly)
Returns the value of attribute dropped.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/variation.rb', line 3 def dropped @dropped end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/hackle-ruby-sdk/models/variation.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/variation.rb', line 3 def key @key end |