Class: Assignment

Inherits:
Object
  • Object
show all
Defined in:
lib/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAssignment

Returns a new instance of Assignment.



608
609
610
611
612
613
614
615
616
617
618
619
# File 'lib/context.rb', line 608

def initialize
  @variant = 0
  @iteration = 0
  @full_on_variant = 0
  @overridden = false
  @assigned = false
  @exposed = false
  @eligible = true
  @full_on = false
  @custom = false
  @audience_mismatch = false
end

Instance Attribute Details

#assignedObject

Returns the value of attribute assigned.



604
605
606
# File 'lib/context.rb', line 604

def assigned
  @assigned
end

#audience_mismatchObject

Returns the value of attribute audience_mismatch.



604
605
606
# File 'lib/context.rb', line 604

def audience_mismatch
  @audience_mismatch
end

#customObject

Returns the value of attribute custom.



604
605
606
# File 'lib/context.rb', line 604

def custom
  @custom
end

#eligibleObject

Returns the value of attribute eligible.



604
605
606
# File 'lib/context.rb', line 604

def eligible
  @eligible
end

#exposedObject

Returns the value of attribute exposed.



604
605
606
# File 'lib/context.rb', line 604

def exposed
  @exposed
end

#full_onObject

Returns the value of attribute full_on.



604
605
606
# File 'lib/context.rb', line 604

def full_on
  @full_on
end

#full_on_variantObject

Returns the value of attribute full_on_variant.



604
605
606
# File 'lib/context.rb', line 604

def full_on_variant
  @full_on_variant
end

#idObject

Returns the value of attribute id.



604
605
606
# File 'lib/context.rb', line 604

def id
  @id
end

#iterationObject

Returns the value of attribute iteration.



604
605
606
# File 'lib/context.rb', line 604

def iteration
  @iteration
end

#nameObject

Returns the value of attribute name.



604
605
606
# File 'lib/context.rb', line 604

def name
  @name
end

#overriddenObject

Returns the value of attribute overridden.



604
605
606
# File 'lib/context.rb', line 604

def overridden
  @overridden
end

#traffic_splitObject

Returns the value of attribute traffic_split.



604
605
606
# File 'lib/context.rb', line 604

def traffic_split
  @traffic_split
end

#unit_typeObject

Returns the value of attribute unit_type.



604
605
606
# File 'lib/context.rb', line 604

def unit_type
  @unit_type
end

#variablesObject

Returns the value of attribute variables.



604
605
606
# File 'lib/context.rb', line 604

def variables
  @variables
end

#variantObject

Returns the value of attribute variant.



604
605
606
# File 'lib/context.rb', line 604

def variant
  @variant
end