Class: EppoClient::AllocationDto

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

Overview

A class for the allocation object

Instance Attribute Summary collapse

Instance Method Summary collapse

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_exposureObject (readonly)

Returns the value of attribute percent_exposure.



21
22
23
# File 'lib/configuration_requestor.rb', line 21

def percent_exposure
  @percent_exposure
end

#variationsObject (readonly)

Returns the value of attribute variations.



21
22
23
# File 'lib/configuration_requestor.rb', line 21

def variations
  @variations
end