Class: ConfigurationService::Provider::Broken
- Inherits:
-
Object
- Object
- ConfigurationService::Provider::Broken
- 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
- #publish_configuration(configuration, token) ⇒ Object
- #request_configuration(identifier, token) ⇒ Object
Instance Method Details
#publish_configuration(configuration, token) ⇒ Object
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
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 |