birdseed 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/birdseed/version.rb +1 -1
- data/lib/birdseed.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: 256d33722af8800d0a0f217cb568156328a8eb94
|
4
|
+
data.tar.gz: 7b395c09459357a960fffb4c778e909d9982c5af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4624f624107c18775aa0eebaed37d59993b4b5ece8f89409c69cea5d29332a99c5f8ab0d83e10e008530db4d6a5338a8bd75ab2db3250cb61c2c8a11b3064ca9
|
7
|
+
data.tar.gz: e1b57a29ea2d5ba028d4cd4ea35654637bb9bec23231cf98231498d0d8dd63d1fbfb264544e1aa1254e4dad8e001114ad234bf64917796608ee0dc5539df2553
|
data/lib/birdseed/version.rb
CHANGED
data/lib/birdseed.rb
CHANGED
@@ -21,7 +21,7 @@ module Birdseed
|
|
21
21
|
|
22
22
|
# See https://github.com/edmodo/fatbird#send-emails-using-rest-api
|
23
23
|
def self.deliver(options={})
|
24
|
-
api_key = options
|
24
|
+
api_key = options.delete(:api_key) || @@api_key
|
25
25
|
response = RestClient.post(
|
26
26
|
"#{self.fatbird_host}/deliveries",
|
27
27
|
JSON.generate(options),
|