Class: EppoClient::VariationDto

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

Overview

A class for the variation object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value, shard_range) ⇒ VariationDto

Returns a new instance of VariationDto.



12
13
14
15
16
# File 'lib/configuration_requestor.rb', line 12

def initialize(name, value, shard_range)
  @name = name
  @value = value
  @shard_range = shard_range
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/configuration_requestor.rb', line 10

def name
  @name
end

#shard_rangeObject (readonly)

Returns the value of attribute shard_range.



10
11
12
# File 'lib/configuration_requestor.rb', line 10

def shard_range
  @shard_range
end

#valueObject (readonly)

Returns the value of attribute value.



10
11
12
# File 'lib/configuration_requestor.rb', line 10

def value
  @value
end