class Stoplight::DataStore::Base

@abstract

Public Instance Methods

clear_failures(_light) click to toggle source

@param _light [Light] @return [Array<Failure>]

# File lib/stoplight/data_store/base.rb, line 33
def clear_failures(_light)
  raise NotImplementedError
end
clear_state(_light) click to toggle source

@param _light [Light] @return [String]

# File lib/stoplight/data_store/base.rb, line 52
def clear_state(_light)
  raise NotImplementedError
end
get_all(_light) click to toggle source

@param _light [Light] @return [Array(Array<Failure>, String)]

# File lib/stoplight/data_store/base.rb, line 14
def get_all(_light)
  raise NotImplementedError
end
get_failures(_light) click to toggle source

@param _light [Light] @return [Array<Failure>]

# File lib/stoplight/data_store/base.rb, line 20
def get_failures(_light)
  raise NotImplementedError
end
get_state(_light) click to toggle source

@param _light [Light] @return [String]

# File lib/stoplight/data_store/base.rb, line 39
def get_state(_light)
  raise NotImplementedError
end
names() click to toggle source

@return [Array<String>]

# File lib/stoplight/data_store/base.rb, line 8
def names
  raise NotImplementedError
end
record_failure(_light, _failure) click to toggle source

@param _light [Light] @param _failure [Failure] @return [Fixnum]

# File lib/stoplight/data_store/base.rb, line 27
def record_failure(_light, _failure)
  raise NotImplementedError
end
set_state(_light, _state) click to toggle source

@param _light [Light] @param _state [String] @return [String]

# File lib/stoplight/data_store/base.rb, line 46
def set_state(_light, _state)
  raise NotImplementedError
end