codec_fast_sms 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -2
- data/lib/codec_fast_sms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7157ff5d0da833a4dd9cf87836e7471354b42a56c9673c4c421c78c8537482d0
|
4
|
+
data.tar.gz: 478a459522d740c927d96c20801511757b126e1713fae4db918ed846be190e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79da16ec977469b04a0b7dd16c118f17f30c3319dad6f67bc8a729b711e2b89e14ec4bca8e3c5060f30f2082c8d0c954879547e4d36cb794f9695bb5bc0c196e
|
7
|
+
data.tar.gz: 7658d0f1cd4d37dd09b0c00174e1b56511b89a2b5e24c4eab5e6c4f697fc8d30e7680ede04b30d06f4f98bfc1d1fd2bfe9470f3250969943f06f7f37d25a7ab7
|
data/README.md
CHANGED
@@ -67,10 +67,29 @@ client.deliver(phone, message)
|
|
67
67
|
puts client.response
|
68
68
|
```
|
69
69
|
|
70
|
+
Use attributes to set permission parameters:
|
71
|
+
```ruby
|
72
|
+
attributes = { optionalParameters: '{ DisablePermissionFilter: true }' }
|
73
|
+
client = CodecFastSms::Client.new(attributes: attributes)
|
74
|
+
```
|
75
|
+
|
76
|
+
Use attributes to set IYS parameters:
|
77
|
+
|
70
78
|
Use attributes to set other parameters:
|
79
|
+
|
80
|
+
`iys_message_type`: must take the value `TICARI` or `BILGILENDIRME`. In case the value is not given, it takes `BILGILENDIRME` value by default.
|
81
|
+
|
82
|
+
`iys_brand_code`: If `iys_message_type` is set as `TICARI`, it must be filled.
|
83
|
+
|
84
|
+
`iys_recipient_type`: If `iys_message_type` is set as `TICARI`, it must be filled.
|
71
85
|
```ruby
|
72
|
-
|
73
|
-
|
86
|
+
attributes = {
|
87
|
+
optionalParameters: '{ DisablePermissionFilter: true }',
|
88
|
+
iys_message_type: 'TICARI'
|
89
|
+
iys_brand_code: 'BC1'
|
90
|
+
iys_recipient_type: 'RT1'
|
91
|
+
}
|
92
|
+
client = CodecFastSms::Client.new(attributes: attributes)
|
74
93
|
```
|
75
94
|
|
76
95
|
We can pass the profile argument on client initialization to use different configuration.
|