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 +4 -4
- data/README.md +1 -1
- data/lib/codec_fast_sms/client.rb +2 -2
- data/lib/codec_fast_sms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a65e90b9c2064fda72afa3fcd1a5a074f325d4bbd1ecdc439574db2ebd48ea61
|
4
|
+
data.tar.gz: d627a795d0af2a9e1ed7fb0ed47677db15108f24c1d51b96fb55f4e515abfd8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: {
|
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
|
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.
|
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-
|
11
|
+
date: 2020-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|