Method: Backup::Notifier::HttpPost#params
- Defined in:
- lib/backup/notifier/http_post.rb
#params ⇒ Object
Hash of additional POST parameters to send.
This notifier will set two parameters: { ‘status’ => ‘success|warning|failure’,
'message' => '[Backup::(Success|Warning|Failure)] label (trigger)' }
‘status’ may not be changed. ‘message’ may be overridden or omitted by setting a nil
value. e.g. { ‘auth_token’ => ‘my_token’, ‘message’ => nil }
42 43 44 |
# File 'lib/backup/notifier/http_post.rb', line 42 def params @params end |