maxemail_api 2.0.10 → 2.0.11

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: 044b39e8e14c3665e549ef8372fe0b7ac9676bb56b76230327973ba625f5781f
4
- data.tar.gz: 43ed0b0d78775508e1d2dc0d1a6289c7b0635c45f558505a00b79ef0db49acff
3
+ metadata.gz: 62ce3af0d5a834e12b83023cc5b15ebfbc8a2692feb1ecc92b403c3eda75e22a
4
+ data.tar.gz: b71143959aae4517b4dd896ce00580c15b50e284c82bec98395c9aa26ca1b4ab
5
5
  SHA512:
6
- metadata.gz: 10d1836d477e5bc5604bb9c54a8d14a825563a46285cd2ae05af218b49b761428f3270fc2d8e56728613b8a67fa5b470863be7d29c3bcc3b9141c81df7e4c791
7
- data.tar.gz: 33612973929ba97b80074d3cf772f6db6c1e8b919e31eabe222b15555a78149789cf0f2c14c7e06ee2356ee456a0c15dc20d85d70d9660461fcff43f2fe29081
6
+ metadata.gz: 2de2fa8ee63953e2c71f95471ab110268caf18cf1fc19230149c659f21012765f39101c5faed87f8b66a61b52ab96aa6650d9e60a8d3d47c6fc161efa1b21b79
7
+ data.tar.gz: 90f14c289fb0ca9f20df1a319a72e1fee80d7eed00d35855d379e9e35e710af8e0c561ee1b11691b6ec575bed27bd3ba6efe85d6ce873d1e6668032929500a82
@@ -2,12 +2,12 @@ module MaxemailApiShared
2
2
  class << self
3
3
  def send_request(params:, method:)
4
4
  puts 'MaxemailApiResponse params and Method:'
5
- puts "params: #{params}"
5
+ puts "form_params: #{params}"
6
6
  puts "method: #{method}"
7
7
  puts 'END MaxemailApiResponse params and Method:'
8
8
  response = HTTP.headers(authentication_header)
9
9
  .post("#{ENV['MAXEMAIL_API_URL']}#{method}",
10
- params: params)
10
+ form: params)
11
11
  puts 'MaxemailApiResponse:'
12
12
  puts response
13
13
  puts 'END MaxemailApiResponse :'
@@ -1,6 +1,7 @@
1
1
  module MaxemailApiTriggered
2
2
  extend self
3
3
  include MaxemailApiShared
4
+
4
5
  def send(folder_name: nil, email_name: nil, email_id: nil, email_address:, profile_data:)
5
6
  email_id = MaxemailApiTriggered.find_email_id(folder_name: folder_name, email_name: email_name) if email_id.nil?
6
7
  MaxemailApiTriggered.send_triggered(email_address: email_address, email_id: email_id, profile_data: profile_data)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxemail_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto