Class: PostHog::FeatureFlagEvaluations::EvaluatedFlagRecord

Inherits:
Struct
  • Object
show all
Defined in:
lib/posthog/feature_flag_evaluations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#enabled ⇒ Object

Returns the value of attribute enabled

Returns:

  • (Object) —

    the current value of enabled



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def enabled
  @enabled
end

#has_experiment ⇒ Object

Returns the value of attribute has_experiment

Returns:

  • (Object) —

    the current value of has_experiment



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def has_experiment
  @has_experiment
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def id
  @id
end

#key ⇒ Object

Returns the value of attribute key

Returns:

  • (Object) —

    the current value of key



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def key
  @key
end

#locally_evaluated ⇒ Object

Returns the value of attribute locally_evaluated

Returns:

  • (Object) —

    the current value of locally_evaluated



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def locally_evaluated
  @locally_evaluated
end

#payload ⇒ Object

Returns the value of attribute payload

Returns:

  • (Object) —

    the current value of payload



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def payload
  @payload
end

#reason ⇒ Object

Returns the value of attribute reason

Returns:

  • (Object) —

    the current value of reason



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def reason
  @reason
end

#variant ⇒ Object

Returns the value of attribute variant

Returns:

  • (Object) —

    the current value of variant



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def variant
  @variant
end

#version ⇒ Object

Returns the value of attribute version

Returns:

  • (Object) —

    the current value of version



15
16
17
# File 'lib/posthog/feature_flag_evaluations.rb', line 15

def version
  @version
end