Class: SummaryMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/ff/ruby/server/sdk/api/summary_metrics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feature_name, variation_identifier, variation_value) ⇒ SummaryMetrics

Returns a new instance of SummaryMetrics.



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ff/ruby/server/sdk/api/summary_metrics.rb', line 5

def initialize(

  feature_name,
  variation_identifier,
  variation_value
)

  @feature_name = feature_name
  @variation_value = variation_value
  @variation_identifier = variation_identifier
end

Instance Attribute Details

#feature_nameObject

Returns the value of attribute feature_name.



3
4
5
# File 'lib/ff/ruby/server/sdk/api/summary_metrics.rb', line 3

def feature_name
  @feature_name
end

#variation_identifierObject

Returns the value of attribute variation_identifier.



3
4
5
# File 'lib/ff/ruby/server/sdk/api/summary_metrics.rb', line 3

def variation_identifier
  @variation_identifier
end

#variation_valueObject

Returns the value of attribute variation_value.



3
4
5
# File 'lib/ff/ruby/server/sdk/api/summary_metrics.rb', line 3

def variation_value
  @variation_value
end