Class: Backup::Notifier::Prowl
- Defined in:
- lib/backup/notifier/prowl.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
API-Key Create a Prowl account and request an API key on prowlapp.com.
-
#application ⇒ Object
Application name Tell something like your server name.
Attributes inherited from Base
#on_failure, #on_success, #on_warning
Instance Method Summary collapse
-
#initialize(model, &block) ⇒ Prowl
constructor
A new instance of Prowl.
Methods inherited from Base
Methods included from Configuration::Helpers
#clear_defaults!, #load_defaults!
Constructor Details
#initialize(model, &block) ⇒ Prowl
Returns a new instance of Prowl.
21 22 23 24 25 |
# File 'lib/backup/notifier/prowl.rb', line 21 def initialize(model, &block) super(model) instance_eval(&block) if block_given? end |
Instance Attribute Details
#api_key ⇒ Object
API-Key Create a Prowl account and request an API key on prowlapp.com.
19 20 21 |
# File 'lib/backup/notifier/prowl.rb', line 19 def api_key @api_key end |
#application ⇒ Object
Application name Tell something like your server name. Example: “Server1 Backup”
14 15 16 |
# File 'lib/backup/notifier/prowl.rb', line 14 def application @application end |