Method: Backup::Notifier::HttpPost#success_codes
- Defined in:
- lib/backup/notifier/http_post.rb
#success_codes ⇒ Object
Successful HTTP Status Code(s) that should be returned.
This may be a single code or an Array of acceptable codes. e.g. [200, 201, 204]
If any other response code is returned, the request will be retried using ‘max_retries` and `retry_waitsec`.
Default: 200
54 55 56 |
# File 'lib/backup/notifier/http_post.rb', line 54 def success_codes @success_codes end |