Class: ConfigurationService::Provider::Broken

Inherits:
Object
  • Object
show all
Defined in:
lib/configuration_service/provider/broken.rb

Overview

A stub broken Base service provider

Used to validate the test framework architecture.

Instance Method Summary collapse

Instance Method Details

#publish_configuration(configuration, token) ⇒ Object

Raises:



15
16
17
# File 'lib/configuration_service/provider/broken.rb', line 15

def publish_configuration(configuration, token)
  raise ConfigurationService::Error, "error requested by test"
end

#request_configuration(identifier, token) ⇒ Object

Raises:



22
23
24
# File 'lib/configuration_service/provider/broken.rb', line 22

def request_configuration(identifier, token)
  raise ConfigurationService::Error, "error requested by test"
end