Class: ConfigurationService::Provider::Broken
- Inherits:
-
Object
- Object
- ConfigurationService::Provider::Broken
- Defined in:
- lib/configuration_service/provider/broken.rb
Overview
A stub broken Client service provider
Used to validate the test framework architecture.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Broken
constructor
A new instance of Broken.
- #publish_configuration(configuration, token) ⇒ Object
- #request_configuration(identifier, token) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Broken
Returns a new instance of Broken.
14 15 |
# File 'lib/configuration_service/provider/broken.rb', line 14 def initialize( = {}) end |
Instance Method Details
#publish_configuration(configuration, token) ⇒ Object
20 21 22 |
# File 'lib/configuration_service/provider/broken.rb', line 20 def publish_configuration(configuration, token) raise ConfigurationService::Error, "error requested by test" end |
#request_configuration(identifier, token) ⇒ Object
27 28 29 |
# File 'lib/configuration_service/provider/broken.rb', line 27 def request_configuration(identifier, token) raise ConfigurationService::Error, "error requested by test" end |