codec_fast_sms 0.1.3 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1eb41e01232c692e1929436298f7e43d1d4e4ce7085376f324125fa91ef2ab5
4
- data.tar.gz: 0d956d31a6f18358acef6d7ad223b9fd29f06503d7fda21a4b48a8fabd643228
3
+ metadata.gz: 7157ff5d0da833a4dd9cf87836e7471354b42a56c9673c4c421c78c8537482d0
4
+ data.tar.gz: 478a459522d740c927d96c20801511757b126e1713fae4db918ed846be190e02
5
5
  SHA512:
6
- metadata.gz: 0cbaebd4a766ffd7a50b8c682d9debfce3edfa90ba3b6ac40ff52308284c6b5e4ac44801ab78814089c13bfe79df05526031ffec4078d35e4c3e3957b347d29b
7
- data.tar.gz: a86062c4afd058e0b94a863c60cc29f0d2416cb94672b201cff414559792282e04f783f1f08e81595724463348d25c4e4b943ecfea54771fce61b208b84fe107
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
- optional_parameters = { optionalParameters: '{ DisablePermissionFilter: true }' }
73
- client = CodecFastSms::Client.new(attributes: optional_parameters)
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodecFastSms
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codec_fast_sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sertan Gülveren