Class: Unleash::Strategy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/unleash/strategy/base.rb

Instance Method Summary collapse

Instance Method Details

#is_enabled?(_params = {}, _context = nil) ⇒ Boolean

Returns:

  • (Boolean)

Raises:



11
12
13
# File 'lib/unleash/strategy/base.rb', line 11

def is_enabled?(_params = {}, _context = nil)
  raise NotImplemented, "Strategy is not implemented"
end

#nameObject

Raises:



7
8
9
# File 'lib/unleash/strategy/base.rb', line 7

def name
  raise NotImplemented, "Strategy is not implemented"
end