Class: Hackle::Variation

Inherits:
Object
  • Object
show all
Defined in:
lib/hackle-ruby-sdk/models/variation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#droppedObject (readonly)

Returns the value of attribute dropped.



3
4
5
# File 'lib/hackle-ruby-sdk/models/variation.rb', line 3

def dropped
  @dropped
end

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/hackle-ruby-sdk/models/variation.rb', line 3

def id
  @id
end

#keyObject (readonly)

Returns the value of attribute key.



3
4
5
# File 'lib/hackle-ruby-sdk/models/variation.rb', line 3

def key
  @key
end