barabut_sms 0.1 → 0.1.2

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: 371c28ccf225c2992791465022a3a4c73e37b241
4
- data.tar.gz: 508bdd203f4ab927b93b758192e221080d90b858
3
+ metadata.gz: 8406de7e6f448312480d288617805bbe9fcc944e
4
+ data.tar.gz: 9fb0d17e4808d8dc92bc71cd3b57b8aba9a6505e
5
5
  SHA512:
6
- metadata.gz: 8f4310366dd4c942c24c933950a19f89002acb33537a760234a8b7b2fe64acc8332a3270a6cb7763cca437226daa0a2d36ee015408294cfc3985ce3d6158ce6b
7
- data.tar.gz: 6806098df3acf60fc92461c6311bc45f0f3307193ecceb97056e0ca92bf7e3d58a7c24139c9d87d7b4c7e37a0d1af05b6d5455d561d33f5f340f359920807df6
6
+ metadata.gz: 92a19050bfb371f97798594081670e7cade4334fd0c0f3a5293e9c8b3ed69062a50f18573ddefa766acee43cbb9e2e9400d6c4873d61eb5146023f2c0a7a1050
7
+ data.tar.gz: 54b0d07de19c0b997ee6d1891ffda981d2f4b97dc60f7c475046e48f5979f7b4e64679c9f5de8877aaffc3c64f93eb5fb9968ad599616f00904c6a16c5e6b99e
@@ -5,7 +5,6 @@ module Barabut
5
5
  valid_options.merge!(:start_date => Barabut::DATE.now) unless valid_options[:start_date]
6
6
  valid_options.merge!(:validity_period => 1440) unless valid_options[:validity_period]
7
7
 
8
-
9
8
  body = Barabut::XmlBody.send_sms_body(recipient, message_text, valid_options)
10
9
 
11
10
  response = send_request(body)
@@ -7,7 +7,7 @@ module Barabut
7
7
  <Password>#{Barabut.configuration.password}</Password>
8
8
  <Username>#{Barabut.configuration.usercode}</Username>
9
9
  </Credential>
10
- <DataCoding>Default</DataCoding>
10
+ <DataCoding>#{valid_options[:unicode] ? 'UCS2' : 'Default'}</DataCoding>
11
11
  <Header>
12
12
  <From>#{valid_options[:from]}</From>
13
13
  </Header>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barabut_sms
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - IPOS - Huseyin Gomleksizoglu