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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc6a4814cd91348b337477f10ffc275785792bc5
4
- data.tar.gz: d88f65bfab26aed81fd7180cecd188d08d5eb904
3
+ metadata.gz: db2c509e1598fe5244ca5f88fb6cd0a40d1a97a3
4
+ data.tar.gz: 39043a3c31bdf25774409a7405ee26a293eb4f42
5
5
  SHA512:
6
- metadata.gz: 0c0e6af1ba87305910e00c958a0fb227f6a90efb498453279f198600e903056ad67e04283de20971ef2241d6b5d9e03333771f5ef23edda880534968d47414d5
7
- data.tar.gz: 52132034a346cfb8b52cfa7efc776998d69366f7cb79e55ed8284773b534d71444594da4eec50ab8ccfe8911d1b08291e028482017dca61d9a62d2c0316dba34
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, platform_application_arn)
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: @platform_application_arn,
15
+ platform_application_arn: platform_application_arn,
17
16
  token: token
18
17
  }
19
18
 
@@ -1,7 +1,7 @@
1
1
  module Moromi
2
2
  module Aws
3
3
  module Sns
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moromi-aws-sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi