You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Adding new attribute - 'requester_ip' in Get Message and List Mssage APIs**
9
+
- Add `requester_ip` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message)
2. Run `make build`. This will create a docker container in which the sdk will be setup and dependencies will be installed.
187
+
> The entrypoint of the docker container will be the `setup_sdk.sh` script. The script will handle all the necessary changes required for local development.
188
+
3. The above command will print the docker container id (and instructions to connect to it) to stdout.
189
+
4. The testing code can be added to `<sdk_dir_path>/ruby-sdk-test/test.rb` in host
190
+
(or `/usr/src/app/ruby-sdk-test/test.rb` in container)
191
+
5. The sdk directory will be mounted as a volume in the container. So any changes in the sdk code will also be reflected inside the container.
192
+
> To use the local code in the test file, import the sdk in test file using:
193
+
`require "/usr/src/app/lib/plivo.rb"`
194
+
6. To run unit tests, run `make test CONTAINER=<cont_id>` in host, where `<cont_id>` is the docker container id created in 2.
# @option options [String] :method The method used to call the url. Defaults to POST.
73
74
# @option options [String] :log If set to false, the content of this message will not be logged on the Plivo infrastructure and the dst value will be masked (e.g., 141XXXXX528). Default is set to true.
74
75
# @option options [String] :trackable set to false
76
+
# @option options[Int]: message_expiry, int value
75
77
# @option options[List]: media_urls Minimum one media url should be present in Media urls list to send mms. Maximum allowd 10 media urls inside the list (e.g, media_urls : ['https//example.com/test.jpg', 'https://example.com/abcd.gif'])
76
78
# @option options[List]: media_ids Minimum one media ids should be present in Media ids list to send mms. Maximum allowd 10 media ids inside the list (e.g, media_ids : ['1fs211ba-355b-11ea-bbc9-02121c1190q7'])
0 commit comments