sendgrid-mailer 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sendgrid/mailer/version.rb +1 -1
- data/lib/sendgrid/mailer.rb +1 -2
- 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: 5990e941d9695eaac104b8c0165bfeeb70913d6b
|
4
|
+
data.tar.gz: f4aef07ff23c51aec6c33816f71045592e21a9d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d972f52f9cad8c90858df1a461921b0a4f6723a7af95fcad04d909ccd5944e216f6182a6860ae61d84d81103b13968a0787e312412b3c8ca64cb1f6862143d
|
7
|
+
data.tar.gz: adc2bb8a11701b984e65f8d609a0b55afeb3fdff52c55251f75d33555a23a8675ece8de7aa4efe6a154109898a6d146841a9b07a67632ea2f30940079b58a8cd
|
data/lib/sendgrid/mailer.rb
CHANGED
@@ -7,7 +7,7 @@ module Sendgrid
|
|
7
7
|
class Mailer
|
8
8
|
include SendGrid
|
9
9
|
|
10
|
-
def initialize
|
10
|
+
def initialize(api_key, from, bcc)
|
11
11
|
@api_key = api_key
|
12
12
|
@from = from
|
13
13
|
@bcc = bcc
|
@@ -34,7 +34,6 @@ module Sendgrid
|
|
34
34
|
|
35
35
|
def send_mail(options)
|
36
36
|
options = build_mail_json(options)
|
37
|
-
puts options
|
38
37
|
send_grid.client.mail._('send').post(request_body: options)
|
39
38
|
end
|
40
39
|
|