moromi-aws-sns 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moromi/aws/sns/client.rb +3 -4
- data/lib/moromi/aws/sns/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: db2c509e1598fe5244ca5f88fb6cd0a40d1a97a3
|
4
|
+
data.tar.gz: 39043a3c31bdf25774409a7405ee26a293eb4f42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed3e627ab1ff6c09a62f03d71c97d6e45ae0ffde32b91c69057ce61d7ba833cb879459380444476e5aead09a7b83b48088dbf9f3b73764cdd1861d33b6999cec
|
7
|
+
data.tar.gz: 496f309c43a12d1b1bb7c8ad8ada00adf65b9ee80f01151b07aea2dcb9781bcce474e9c23b9ff4e23dcabd02467489bd167ef7115d110d7af5afa4c4b4aa55e3
|
@@ -4,16 +4,15 @@ module Moromi
|
|
4
4
|
module Aws
|
5
5
|
module Sns
|
6
6
|
class Client
|
7
|
-
def initialize(access_key_id, secret_access_key, region
|
7
|
+
def initialize(access_key_id, secret_access_key, region)
|
8
8
|
@access_key_id = access_key_id
|
9
9
|
@secret_access_key = secret_access_key
|
10
10
|
@region = region
|
11
|
-
@platform_application_arn = platform_application_arn
|
12
11
|
end
|
13
12
|
|
14
|
-
def register(token, force_enable: true)
|
13
|
+
def register(platform_application_arn, token, force_enable: true)
|
15
14
|
params = {
|
16
|
-
platform_application_arn:
|
15
|
+
platform_application_arn: platform_application_arn,
|
17
16
|
token: token
|
18
17
|
}
|
19
18
|
|