Module: BundleNotification

Defined in:
lib/bundle_notification.rb,
lib/bundle_notification/config.rb,
lib/bundle_notification/deliver.rb,
lib/bundle_notification/snippet.rb,
lib/bundle_notification/version.rb,
lib/bundle_notification/serializer.rb,
lib/bundle_notification/mailer_helper.rb,
lib/bundle_notification/snippet_message.rb

Defined Under Namespace

Modules: MailerHelper, Serializer Classes: Config, Deliver, Snippet, SnippetMessage

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/bundle_notification.rb', line 14

def self.config
  @config ||= Config.new
end

.configure {|@config| ... } ⇒ Object

Yields:



8
9
10
11
12
# File 'lib/bundle_notification.rb', line 8

def self.configure
  @config = Config.new
  yield(@config)
  @config
end