codec_fast_sms 0.1.1 → 0.1.2

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: 6ac8e7c4464732862d74fc81abe076b7b9a12ba0301792c5089db189f02186f1
4
- data.tar.gz: 32c4588fff41ceaac6874e771e328b0b07a45c7456c643b251822e6aedbeb201
3
+ metadata.gz: a65e90b9c2064fda72afa3fcd1a5a074f325d4bbd1ecdc439574db2ebd48ea61
4
+ data.tar.gz: d627a795d0af2a9e1ed7fb0ed47677db15108f24c1d51b96fb55f4e515abfd8d
5
5
  SHA512:
6
- metadata.gz: e75e86f29202b824fab992d601678c4d3fbb0d30a170e0aff8469aaff3343eaad682cab617e084dadfa76c6a2e982031a1b1639ca63639743e4eb1e17dbed555
7
- data.tar.gz: 05d82065bb7809c8dbff20b7bf1d0acbfa0da5d24577c0e9f0fa468e906905748def7599a233aab7163479ed8fa9545f4dad7af987554c61730f05615584e3a3
6
+ metadata.gz: 544f75441037d813a0d407f18246f60802342c157eeed023f7af3510315a613a03739d88b8d6bb35985a84def97e29545501e03ac94d414455ae5bae5bcee0eb
7
+ data.tar.gz: 303e8006f766ffbf9e3a4a5824613d67db965d93f99299aa62da3052946b3a9925ed5df4da739ff1e1bac666d38d6022c97e6f5d7972b55c6d3f7b39f575092b
data/README.md CHANGED
@@ -69,7 +69,7 @@ puts client.response
69
69
 
70
70
  Use attributes to set other parameters:
71
71
  ```ruby
72
- optional_parameters = { optionalParameters: { disablePermissionFilter: true } }
72
+ optional_parameters = { optionalParameters: '{ DisablePermissionFilter: true }' }
73
73
  client = CodecFastSms::Client.new(attributes: optional_parameters)
74
74
  ```
75
75
 
@@ -31,9 +31,9 @@ module CodecFastSms
31
31
 
32
32
  def generate_optional_parameters
33
33
  attr = attributes[:optionalParameters]
34
- return attr if attr.is_a?(Hash) && !attr.empty?
34
+ return attr.to_json if attr.is_a?(Hash) && !attr.empty?
35
35
 
36
- ''
36
+ attr.to_s
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodecFastSms
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codec_fast_sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sertan Gülveren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-25 00:00:00.000000000 Z
11
+ date: 2020-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest