maxemail_api 2.0.7 → 2.0.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
  SHA256:
3
- metadata.gz: 2710b708445641d8e5a10959c690ea7378ec57e410e361f1fe3e89ba33ea1c20
4
- data.tar.gz: a48d573c9e15744b94a06bbe49d6fe94929bb0935855b74deaea58eded467341
3
+ metadata.gz: f19c87348dbe9c80cb5c91fb2778c8119d8292a59dd12afd6c57e908cdc15901
4
+ data.tar.gz: de7abb4b8d1ddeecf2f55b8cbcb96b0d91a8b1c280132f9fbc3ff6a66ee38cc5
5
5
  SHA512:
6
- metadata.gz: d7ed32e3ecfd8c1ed090ca5b95da214a070bcc38fdd7140b14531e639bba89bdca7a568c4874c4435254ac729c4f4c95be1946312d261c563d756bbeb806fc32
7
- data.tar.gz: 2e6d80dc2f6d5eb5da8ba0974797d7e001a354931e77c2adcecf2adfee0c21ffd8217b5a1b193da82a1e094997d17d381ad923dc368c329e301a2a47125b63ab
6
+ metadata.gz: 7be4009b3d9e5e01e9e99ed0e2ee9ed796a32dcdb3925641697c98f86f458272b72e2033a5e9950da7ba9bce20e521e4b7f9d3100fabc3d368a623d9998b1045
7
+ data.tar.gz: facc02714d7d10c1f681aab87f2aff7ca463f6d9eb9900a0d33384e36eec3ab6919d0c49ea0cbac39d8426ea000bb776bd063b397b643ec05891e7d8663924b5
@@ -6,8 +6,8 @@ module MaxemailApiShared
6
6
  puts "method: #{method}"
7
7
  puts 'END MaxemailApiResponse params and Method:'
8
8
  response = HTTP.headers(authentication_header)
9
- .get("#{ENV['MAXEMAIL_API_URL']}#{method}",
10
- params: params)
9
+ .post("#{ENV['MAXEMAIL_API_URL']}#{method}",
10
+ params: params)
11
11
  puts 'MaxemailApiResponse:'
12
12
  puts response
13
13
  puts 'END MaxemailApiResponse :'
@@ -7,7 +7,7 @@ module MaxemailApiTriggered
7
7
  MaxemailApiTriggered.send_triggered(email_address: email_address, email_id: email_id, profile_data: profile_data)
8
8
  end
9
9
 
10
- def trigger_folder(folder_id:, email_address:, profile_data: )
10
+ def trigger_folder(folder_id:, email_address:, profile_data:)
11
11
  return MaxemailApiResponse.new(data: {}, success: false, message: 'Folder not found') if folder_id.nil?
12
12
  return MaxemailApiResponse.new(data: {}, success: false, message: 'Invalid Profile data') unless valid_profile_data?(profile_data)
13
13
  return MaxemailApiResponse.new(data: {}, success: false, message: 'Invalid Email address') unless valid_email?(email_address)
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.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto