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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a96fc421d38fb0763333e7505844d89f1baabca
4
- data.tar.gz: 319850f793bb6e53605fe3e31b929e847f9a59bd
3
+ metadata.gz: 24a1d0ef70fc633c438a865bea86925045192b5e
4
+ data.tar.gz: bf2f874c4ad803cf167cbbdfc38ad23c48d595e4
5
5
  SHA512:
6
- metadata.gz: 7f5fda8463ae6aa86bfee17b3b541037df3561663ab66bfe6ede97833d25006fb6e2ec2df52d8bcd4f9462635323f722dfa1d9dc21d2108096628d8482fad3d3
7
- data.tar.gz: 96b06a33da62dcd994450eca10961692d4788359d9eff7a3798234cc0503f875365b2d773c3787ffb8cdb2a9d5a9b95459a1fe40ae343cbba03b34c79258ae7e
6
+ metadata.gz: 10f4dfa0922c73c3f39e867d9fcd84d6f7d55d15b1691acfbf5ee7a2d68939069d58a058108ae3e8fd8664a11317a35a6024766d54f18932171da3c4a2bf2afd
7
+ data.tar.gz: 2271e8361d9fd718565ce78d350ee2fcf70a5687805894f7700056db6ac51ae26624ec8c1015a87a40a54f4362cf76ce8f904016184d9a4e907e819469188dbd
@@ -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 }
@@ -1,3 +1,3 @@
1
1
  module Mailjet
2
- VERSION = "1.3.7"
2
+ VERSION = "1.3.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailjet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Nappy