Class: ConfigCat::OverrideDataSource

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

Instance Method Summary collapse

Constructor Details

#initialize(override_behaviour) ⇒ OverrideDataSource

Returns a new instance of OverrideDataSource.



25
26
27
# File 'lib/configcat/overridedatasource.rb', line 25

def initialize(override_behaviour)
  @_override_behaviour = override_behaviour
end

Instance Method Details

#get_behaviourObject



29
30
31
# File 'lib/configcat/overridedatasource.rb', line 29

def get_behaviour
  return @_override_behaviour
end

#get_overridesObject



33
34
35
36
# File 'lib/configcat/overridedatasource.rb', line 33

def get_overrides
  # :returns the override dictionary
  return {}
end