notifiable-sender 0.2.1 → 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/.gitignore +1 -0
- data/lib/notifiable/sender.rb +1 -1
- data/lib/notifiable/sender/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 751302771dbfd40b4a9056ab25a45550c985713e
|
|
4
|
+
data.tar.gz: 5ada967cceeebfa8e29cf08151368045957fc7de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9943eb5949d139004acdb8b1a834b07bd6be43c8e0245e1a0dfd601f9b044111e7f150a73556211b01d9e5250286c04f81b2fc381168de84835fe305d793efd0
|
|
7
|
+
data.tar.gz: d9233f93783c4252fae42ec6f1a24e8152ea77affb1978ea4f78c7524580a22f873a005d5600481c7b44f186ac5a550e587443eba8ebbf708d7ecee0233e2468
|
data/.gitignore
CHANGED
data/lib/notifiable/sender.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'logger'
|
|
|
5
5
|
|
|
6
6
|
module Notifiable
|
|
7
7
|
class Sender
|
|
8
|
-
def initialize(
|
|
8
|
+
def initialize(access_id, base_uri: 'https://notifiable.futureworkshops.com', secret_key: nil, logger: Logger.new(STDOUT))
|
|
9
9
|
raise 'base_uri cannot be nil' if base_uri.empty?
|
|
10
10
|
raise 'access_id cannot be nil' if access_id.empty?
|
|
11
11
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: notifiable-sender
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Brooke-Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|