notifiable-sender 0.2.0 → 0.2.1
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/lib/notifiable/sender.rb +1 -2
- data/lib/notifiable/sender/version.rb +1 -3
- data/notifiable-sender.gemspec +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: a7dccb0e4ad2e99ce3ad4bbd06e806944ab1a35f
|
4
|
+
data.tar.gz: 7f0be289f6cbe2fb86f20703f49c48383471acbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a9b9cbd94f773d485d6e85eab4150a1ad382db93d3d1643d8c9a350faba5a30294a1efd70cca8edefd653600adb5c01e1caf90e3f18324fd4df0538c15cc2d1
|
7
|
+
data.tar.gz: b3b6d57e3403e4a390266a765db18f06bb8e15c1eb7b3e5abaf1bed107f18449220b7419ebd9b6f10d22dcdcfd288d3a76312689cbed2b676f7f38860da3eb88
|
data/lib/notifiable/sender.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
require 'notifiable/sender/version'
|
2
1
|
require 'rest-client'
|
3
2
|
require 'api-auth'
|
4
3
|
require 'json'
|
5
4
|
require 'logger'
|
6
5
|
|
7
6
|
module Notifiable
|
8
|
-
class Sender
|
7
|
+
class Sender
|
9
8
|
def initialize(base_uri, access_id, secret_key: nil, logger: Logger.new(STDOUT))
|
10
9
|
raise 'base_uri cannot be nil' if base_uri.empty?
|
11
10
|
raise 'access_id cannot be nil' if access_id.empty?
|
data/notifiable-sender.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'notifiable/sender/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "notifiable-sender"
|
8
|
-
spec.version = Notifiable::
|
8
|
+
spec.version = Notifiable::VERSION
|
9
9
|
spec.authors = ["Matt Brooke-Smith"]
|
10
10
|
spec.email = ["matt@futureworkshops.com"]
|
11
11
|
|