cm_email 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 3290263df41ae164bd40b9bfc77b016028125804bdbc08cd74095c6e9f8c8037
4
- data.tar.gz: a5ec5aecd10709d9bf0f914e6ceb62b4cc23b5a415c4c11a44bbf377e2e55bf2
3
+ metadata.gz: 7560832cd90733c20134beeb7db64240cfa15788a4109e6a2c2127652e345a2c
4
+ data.tar.gz: b6d55d09bff251019dc1669066a663c269542d79a7a9f8fa3fe1220e0a654374
5
5
  SHA512:
6
- metadata.gz: 1eb25a9d267b43e06a204a621de515d5db30101f35b708a7ff1475fe111407cc17881326d76cfaf3650c149adb82bdc06cc47d807e149f7609af1be207da8718
7
- data.tar.gz: d5d9218a6510dd07b9f3b12e051ba2942b23a4c1ec6e2efea108b85fec12d3b88e1e8940aacf23c39c1f40e44f6046bddf8da0415b612b5af5170866cc47a140
6
+ metadata.gz: 3accaf63b3fd318d322a1280dd698d4214fc6df470efd128a8fcee6a20f573badc77cd00616f52a473616949fa5608ab21efcb0ed34ab53a91a214e69523bf92
7
+ data.tar.gz: 73930e3282eb234217f0e3e79ca185d6743271b8c8d6b1ffff25ca8f68d66cbfdd06fcf936e433cb703ffa536d57a2a8d91572d304db5784b4c3ab55c9454a1e
data/lib/cm_email.rb CHANGED
@@ -74,7 +74,7 @@ module Cm_email
74
74
  'https://cm-email.commutatus.com/'
75
75
  end
76
76
  uri = URI.parse(domain_url + path)
77
- headers = {'Content-Type': 'application/json', 'api_key': api_key}
77
+ headers = {'Content-Type': 'application/json', 'Api-Key': api_key}
78
78
  http = Net::HTTP.new(uri.host, uri.port)
79
79
  http.use_ssl = true
80
80
  request = method == 'delete'? Net::HTTP::Delete.new(uri.request_uri, headers) : Net::HTTP::Post.new(uri.request_uri, headers)
@@ -1,3 +1,3 @@
1
1
  module CmEmail
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PRATIK DHARAMDASANI
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2021-06-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem is a wrapper for Cm-email's API
14
14
  email: