Class: Hackle::ContainerGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/hackle/internal/model/container.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, experiments:) ⇒ ContainerGroup

Returns a new instance of ContainerGroup.

Parameters:

  • id (Integer)
  • experiments (Array<Integer>)


42
43
44
45
# File 'lib/hackle/internal/model/container.rb', line 42

def initialize(id:, experiments:)
  @id = id
  @experiments = experiments
end

Instance Attribute Details

#experimentsObject (readonly)

Returns the value of attribute experiments.



38
# File 'lib/hackle/internal/model/container.rb', line 38

attr_reader :id, :experiments

#idInteger (readonly)

Returns:

  • (Integer)


38
39
40
# File 'lib/hackle/internal/model/container.rb', line 38

def id
  @id
end