hunger_unifonic 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hunger_unifonic.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fc9eadbad272a27191968cf41a20fe3a530a2b3
4
- data.tar.gz: 3827deb0c8389ed646b1384095289b12dc38c5cd
3
+ metadata.gz: 41a4bb5c8f9ae5068d7bc45200a82a54776fb2df
4
+ data.tar.gz: 93900fd6fea837096008407ae652f32b3ebaaba7
5
5
  SHA512:
6
- metadata.gz: 6c3a713a8d656112a530dc596c80d6543e15a678e99568d6aef3c8e1cd9ef1ddde9739bf04a4f6e2e38f58c8282d8789977f9c923851ac5601b939f017f9efa8
7
- data.tar.gz: 04d50a7e339cacccd62b2de92450a23afdc40ff95f27bd1bd0cc9e5cea771806aa0a8f384d38bc479b918748c2f6cc3b89abfb697167185128c7e641e2a10467
6
+ metadata.gz: 9d0eca32e41cf3c297e687623176333829fbec0a5d589b3ecad91709cf7f8a5636679e514b9bc70133135d52eb3af0e81d02505faca9c881c2eabb516a5a1100
7
+ data.tar.gz: 8f1755e0e9b89a1ab66e051c32657b6ea3ac12a151e91369a910e4e9e67bc66b160d9228535ca21f52992d4e43d6cf8f55682a4d4628346c60deccfbf13821a2
@@ -7,7 +7,7 @@ module HungerUnifonic
7
7
  password = credentials[:password]
8
8
  mobile = mobile_number.gsub(/[^a-z,0-9]/, "")
9
9
  uri = URI("/mobicents/sendSms")
10
- params = {userid: username, password: password, to: mobile , sender: sender, format: 'json', messageBodyEncoding: 'UTF8', smscEncoding: 'GSM7', msg: message}
10
+ params = {userid: username, password: password, to: mobile , sender: sender, format: 'json', messageBodyEncoding: 'UTF8', smscEncoding: 'UCS2', msg: message}
11
11
  response = connection.get do |req|
12
12
  req.url uri.path
13
13
  req.params = params
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hunger_unifonic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ibrahim saeed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-14 00:00:00.000000000 Z
11
+ date: 2018-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: ibrahim.saeed@hungerstation.com