rising_dragon 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/rising_dragon/sns/publisher.rb +1 -1
- data/lib/rising_dragon/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: 9959aab6bcf40022aefc0b4539e10af3c49677c3
|
4
|
+
data.tar.gz: d1d4dc677754ad37e2659c481e6edc49810d0196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a694d7561e02396065fd70f1c9a369c4428a56bb69466e2dea3ff40ce271de6a71d27da1ed12dc644631410b1e1329a731573eabfac9d964cf90cea3d7b3c411
|
7
|
+
data.tar.gz: ee1dd036a745350c3f7158ef249d58f080f63af52276167093964b490c03fb357c3daec5c2b9e0591ac9de3b0806942de512d56584d00628619777c6fbd6895d
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Use AWS SQS/SNS as event worker for Microservices.
|
|
13
13
|
Add this line to your application's Gemfile:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem 'rising_dragon', '>= 0.3.
|
16
|
+
gem 'rising_dragon', '>= 0.3.2'
|
17
17
|
```
|
18
18
|
|
19
19
|
And then execute:
|
@@ -38,7 +38,7 @@ sns_client = Aws::SNS::Client.new(
|
|
38
38
|
publisher = ::RisingDragon::SNS::Publisher.new(sns_client)
|
39
39
|
|
40
40
|
data = { id: 1, name: "first last" }
|
41
|
-
publisher.
|
41
|
+
publisher.publish("SNSTopicName", "EventType", data)
|
42
42
|
```
|
43
43
|
|
44
44
|
## Worker Usage
|