Skip to content

Commit 73cb0e1

Browse files
version update - adding optional retry logic
1 parent 415ee65 commit 73cb0e1

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ This example demonstrates how to embed an image in your message.
175175
### [Basic send with a web proxy](https://github.com/socketlabs/socketlabs-ruby/blob/master/examples/basic/basic_send_with_proxy.rb)
176176
This example demonstrates how to use a proxy with your HTTP client.
177177

178+
### [Basic send with retry enabled](https://github.com/socketlabs/socketlabs-ruby/blob/master/examples/basic/basic_send_with_retry.rb)
179+
This example demonstrates how to use the retry logic with your HTTP client.
180+
178181
### [Basic send with Amp ](https://github.com/socketlabs/socketlabs-ruby/blob/master/examples/basic/basic_send_with_amp_body.rb)
179182
This example demonstrates how to send a basic message with an AMP Html body.
180183
For more information about AMP please see [AMP Project](https://amp.dev/documentation/)
@@ -213,6 +216,7 @@ For more information about AMP please see [AMP Project](https://amp.dev/document
213216

214217
<a name="version"></a>
215218
# Version
219+
* 1.2.1 - Adding optional retry logic for Http requests. If configured, the request will retry when certain 500 errors occur (500, 502, 503, 504)
216220
* 1.1.1 - Adding request timeout value on the client for Http requests
217221
* 1.1.0 - Adds Amp Html Support
218222
* 1.0.0 - Initial Release

gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
socketlabs-injectionapi (1.1.1)
4+
socketlabs-injectionapi (1.2.1)
55

66
GEM
77
remote: http://rubygems.org/

lib/socketlabs/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module SocketLabs
22
module InjectionApi
3-
VERSION = '1.1.1'
3+
VERSION = '1.2.1'
44
end
55
end

0 commit comments

Comments
 (0)