class PubsubNotifier::Client::Base

Public Class Methods

config() click to toggle source
# File lib/pubsub_notifier/client.rb, line 8
def self.config
  @_config ||= self::Config.new
end
configure() { |config| ... } click to toggle source
# File lib/pubsub_notifier/client.rb, line 4
def self.configure
  yield config
end
new(options = {}) click to toggle source
# File lib/pubsub_notifier/client.rb, line 12
def initialize(options = {})
end

Public Instance Methods

notify_failure(message) click to toggle source
# File lib/pubsub_notifier/client.rb, line 19
def notify_failure(message)
  raise NotImplementedError, "#{self.class}##{__method__} is not implemented"
end
notify_success(message) click to toggle source
# File lib/pubsub_notifier/client.rb, line 15
def notify_success(message)
  raise NotImplementedError, "#{self.class}##{__method__} is not implemented"
end

Private Instance Methods

config() click to toggle source
# File lib/pubsub_notifier/client.rb, line 29
def config
  self.class.config
end
logger() click to toggle source
# File lib/pubsub_notifier/client.rb, line 25
def logger
  PubsubNotifier.config.logger
end