Class: PubsubNotifier::Client::Base
- Inherits:
-
Object
- Object
- PubsubNotifier::Client::Base
show all
- Defined in:
- lib/pubsub_notifier/client.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(options = {}) ⇒ Base
12
13
|
# File 'lib/pubsub_notifier/client.rb', line 12
def initialize(options = {})
end
|
Class Method Details
.config ⇒ Object
8
9
10
|
# File 'lib/pubsub_notifier/client.rb', line 8
def self.config
@_config ||= self::Config.new
end
|
4
5
6
|
# File 'lib/pubsub_notifier/client.rb', line 4
def self.configure
yield config
end
|
Instance Method Details
#notify_failure(message) ⇒ Object
19
20
21
|
# File 'lib/pubsub_notifier/client.rb', line 19
def notify_failure(message)
raise NotImplementedError, "#{self.class}##{__method__} is not implemented"
end
|
#notify_success(message) ⇒ Object
15
16
17
|
# File 'lib/pubsub_notifier/client.rb', line 15
def notify_success(message)
raise NotImplementedError, "#{self.class}##{__method__} is not implemented"
end
|