Class: ConfigurationService::Provider::Broken
- Inherits:
-
Object
- Object
- ConfigurationService::Provider::Broken
- Defined in:
- lib/configuration_service/provider/broken.rb
Overview
A stub broken ConfigurationService::Base service provider
Used to validate the test framework architecture.
Instance Method Summary collapse
-
#publish_configuration(configuration, token) ⇒ Object
Raises Error.
-
#request_configuration(identifier, token) ⇒ Object
Raises Error.
Instance Method Details
#publish_configuration(configuration, token) ⇒ Object
Raises Error
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 Error
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 |