Sha256: 4a70ac828e6110ef25369ec640bfdd8085c7d29b3ba233e18f36c4e96b324997

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module Silvermoon
  module Notifier

    class Base

      attr_accessor :identifier

      def config
        Silvermoon::Notifier.config[identifier.to_sym] || Silvermoon::Notifier.config[identifier.to_s]
      end

      def notify(title, content, url, extras = {})
        raise NotImplementedError
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
silvermoon-0.1 lib/silvermoon/notifier/base.rb