new_data_notifier 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/new_data_notifier.rb +4 -0
  2. metadata +3 -3
@@ -1,6 +1,9 @@
1
1
  # NewDataNotifier
2
2
  require 'action_mailer'
3
3
 
4
+ ##
5
+ # Mail template
6
+ #
4
7
  class NewDataNotifier < ActionMailer::Base
5
8
  self.mailer_name = 'new_dat_notifier'
6
9
  self.append_view_path "#{File.dirname(__FILE__)}/views"
@@ -39,6 +42,7 @@ class NewDataNotifier < ActionMailer::Base
39
42
  end
40
43
  end
41
44
 
45
+ # notification event.
42
46
  def notification(data_hash)
43
47
  @data_hash = data_hash
44
48
  options = self.class.default_options
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: new_data_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael He