Class: EppoClient::AllocationDto
- Inherits:
-
Object
- Object
- EppoClient::AllocationDto
- Defined in:
- lib/configuration_requestor.rb
Overview
A class for the allocation object
Instance Attribute Summary collapse
-
#percent_exposure ⇒ Object
readonly
Returns the value of attribute percent_exposure.
-
#variations ⇒ Object
readonly
Returns the value of attribute variations.
Instance Method Summary collapse
-
#initialize(percent_exposure, variations) ⇒ AllocationDto
constructor
A new instance of AllocationDto.
Constructor Details
#initialize(percent_exposure, variations) ⇒ AllocationDto
Returns a new instance of AllocationDto.
23 24 25 26 |
# File 'lib/configuration_requestor.rb', line 23 def initialize(percent_exposure, variations) @percent_exposure = percent_exposure @variations = variations end |
Instance Attribute Details
#percent_exposure ⇒ Object (readonly)
Returns the value of attribute percent_exposure.
21 22 23 |
# File 'lib/configuration_requestor.rb', line 21 def percent_exposure @percent_exposure end |
#variations ⇒ Object (readonly)
Returns the value of attribute variations.
21 22 23 |
# File 'lib/configuration_requestor.rb', line 21 def variations @variations end |