mailjet 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailjet/resource.rb +1 -0
- data/lib/mailjet/version.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: 24a1d0ef70fc633c438a865bea86925045192b5e
|
4
|
+
data.tar.gz: bf2f874c4ad803cf167cbbdfc38ad23c48d595e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f4dfa0922c73c3f39e867d9fcd84d6f7d55d15b1691acfbf5ee7a2d68939069d58a058108ae3e8fd8664a11317a35a6024766d54f18932171da3c4a2bf2afd
|
7
|
+
data.tar.gz: 2271e8361d9fd718565ce78d350ee2fcf70a5687805894f7700056db6ac51ae26624ec8c1015a87a40a54f4362cf76ce8f904016184d9a4e907e819469188dbd
|
data/lib/mailjet/resource.rb
CHANGED
@@ -83,6 +83,7 @@ module Mailjet
|
|
83
83
|
def create(attributes = {})
|
84
84
|
# if action method, ammend url to appropriate id
|
85
85
|
self.resource_path = create_action_resource_path(attributes[:id]) if self.action
|
86
|
+
attributes.tap { |hs| hs.delete(:id) }
|
86
87
|
|
87
88
|
if Mailjet.config.default_from and self.resource_path == 'v3/send/'
|
88
89
|
default_attributes = { :from_email => Mailjet.config.default_from }
|
data/lib/mailjet/version.rb
CHANGED