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 +4 -4
- data/lib/cm_email.rb +1 -1
- data/lib/cm_email/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7560832cd90733c20134beeb7db64240cfa15788a4109e6a2c2127652e345a2c
|
4
|
+
data.tar.gz: b6d55d09bff251019dc1669066a663c269542d79a7a9f8fa3fe1220e0a654374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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', '
|
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)
|
data/lib/cm_email/version.rb
CHANGED
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.
|
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-
|
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:
|