rails_notify 0.1.0 → 0.3.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/rails_notify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec75e929c8c62a38b942937aa35e868f5f51334
|
4
|
+
data.tar.gz: bef55ccedf126d72fbdbc46a164d971183d8a73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70fe2f19e6c47b2a92da4aa628895d4c05ad980680db2520f3a8d991d2639cb857d51d30fc3e9244c1fb813fbdc27ce164d4b98de31bfc33386444edec904c2
|
7
|
+
data.tar.gz: 1d1f4d972c440ec527bd7ad7c544f819c433edd04ac3a4882b31884b6a60c6b07cba034068ac29acb82e205433c791302d6e6b5555701487871fcdcbb21b5493
|
data/README.md
CHANGED
@@ -7,14 +7,14 @@ Welcome to your new gem! Yout one gateway to send notifications from your rails
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem '
|
10
|
+
gem 'rails_notify', github: 'softprodigyofficial/rails_notify', branch: 'master'
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
$ bundle install
|
15
15
|
|
16
16
|
## Usage
|
17
|
-
require "
|
17
|
+
require "rails_notify"
|
18
18
|
RailsNotify::Notification.send([ { "platform" => "slack","url" => < your_incoming_webhook_url >,"payload" => {"channel":< public-channel-name >,"username":< sender-name >,"text":< message >} } ])
|
19
19
|
|
20
20
|
## License
|
data/lib/rails_notify/version.rb
CHANGED