noticed 1.2.13 → 1.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/noticed/delivery_methods/base.rb +2 -1
- data/lib/noticed/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac97a7792c45512212f51308814ebb40d70ff83b21feaaf9bbec55e6bc73ea1b
|
4
|
+
data.tar.gz: 5ca3d47dd9ada40f4e3641cc422e0caf77df831f0f6438ce898f9c95d061dff6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6cc83dda3dee6bef5978ea669a48f495b5a92028903ad6f1911d05166223138b344df24c1445ce13ec182c896faca6bc9f31ae91809149e2ec0d15d3dbfeabe
|
7
|
+
data.tar.gz: ef33159e1b6939210bfb358d3aeeb30f51c645e7a3f9460b6c8890dbc253b2ae002c9e07b3415b85a451de7c0eccea24f99c8f04973ec24274ed35b5340b7f0a
|
@@ -4,11 +4,12 @@ module Noticed
|
|
4
4
|
extend ActiveModel::Callbacks
|
5
5
|
define_model_callbacks :deliver
|
6
6
|
|
7
|
-
attr_reader :notification, :options, :recipient, :record
|
7
|
+
attr_reader :notification, :options, :params, :recipient, :record
|
8
8
|
|
9
9
|
def perform(args)
|
10
10
|
@notification = args[:notification_class].constantize.new(args[:params])
|
11
11
|
@options = args[:options]
|
12
|
+
@params = args[:params]
|
12
13
|
@recipient = args[:recipient]
|
13
14
|
@record = args[:record]
|
14
15
|
|
data/lib/noticed/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noticed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|