Class: EppoClient::VariationDto
- Inherits:
-
Object
- Object
- EppoClient::VariationDto
- Defined in:
- lib/configuration_requestor.rb
Overview
A class for the variation object
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#shard_range ⇒ Object
readonly
Returns the value of attribute shard_range.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, shard_range) ⇒ VariationDto
constructor
A new instance of VariationDto.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/configuration_requestor.rb', line 10 def name @name end |
#shard_range ⇒ Object (readonly)
Returns the value of attribute shard_range.
10 11 12 |
# File 'lib/configuration_requestor.rb', line 10 def shard_range @shard_range end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
10 11 12 |
# File 'lib/configuration_requestor.rb', line 10 def value @value end |