helliomessaging_sms 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c58ba3b9dcfae9e3a0a282f102f956d2adf84246
4
- data.tar.gz: 20ec3f134f49188db68ed4a5c734314eca8ac697
3
+ metadata.gz: 65c2be3835a0ea864b38d8e4e88b607018e869cd
4
+ data.tar.gz: b978f019068d461153aa53237d4cd249afc30b34
5
5
  SHA512:
6
- metadata.gz: 0cad1e84ba0f58dd20c49c39a0a498e12c8bb2cca41263b1bbe030f496d82c2f17b9924a7589e0800ddb86a0f7b38d746ce5fbae4f4adb5a874ac92a36509706
7
- data.tar.gz: 208b2116915e1b3a1fd7936f8cf6b03f9cac1bfe9fd3a1f7261e8e27c481a6eea54921251bc3a137ffc6c23857db4d5e2918d01ca6c9b2caeea538ce40170cf3
6
+ metadata.gz: 4a8930024492e484b6c03f461b674d18ba1a2a14e87ee335058fff2184aefb07156c09d278b804869f31f2798bdb7e127c3692a3707724a7ca1a8a6a98197b8f
7
+ data.tar.gz: e8dfa53844e08cee65c11b9241b5ef2f06157aecb88f193e0d5017718a474ca26ab78e343203731bcc9bd0bc0aa96a4b8f2f36d2b89abeceebd01282eebc5ba3
@@ -1,3 +1,3 @@
1
1
  module HellioMessaging
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
@@ -34,12 +34,12 @@ module HellioMessaging
34
34
 
35
35
  # Send SMS Using the new form of Authentication [Consumer ID and an Application Serect]
36
36
  if @@api_consumer_key != nil && @@api_application_secret != nil
37
- response = CurbFu.get({:host => 'app.helliomessaging.com/api', :path => '/sms-dlr?', :protocol => 'http'}, { :From => sender_id, :To => options[:to], :Content => message, :ClientId => @@api_consumer_key, :ClientSecret => @@api_application_secret })
37
+ response = CurbFu.get({:host => 'app.helliomessaging.com/api', :path => '/sms-dlr?', :protocol => 'http'}, { :From => sender_id, :To => options[:to], :Content => message, :ClientKey => @@api_consumer_key, :ApplicationSecret => @@api_application_secret })
38
38
  end
39
39
 
40
40
  # Check for DLR's [Consumer ID and an Application Serect or Username and Password]
41
41
  if @@api_consumer_key != nil && @@api_application_secret != nil
42
- response = CurbFu.get({:host => 'app.helliomessaging.com/api', :path => '/sms-dlr?', :protocol => 'http'}, { :From => sender_id, :To => options[:to], :Content => message, :ClientId => @@api_consumer_key, :ClientSecret => @@api_application_secret })
42
+ response = CurbFu.get({:host => 'app.helliomessaging.com/api', :path => '/sms-dlr?', :protocol => 'http'}, { :From => sender_id, :To => options[:to], :Content => message, :ClientKey => @@api_consumer_key, :ApplicationSecret => @@api_application_secret })
43
43
  end
44
44
 
45
45
  {:status => response.status, :notice => response.body}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helliomessaging_sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert A. Ninyeh