Class: Backup::Notifier::Campfire
- Defined in:
- lib/backup/notifier/campfire.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Campfire api authentication token.
-
#room_id ⇒ Object
Campfire account’s room id.
-
#subdomain ⇒ Object
Campfire account’s subdomain.
Attributes inherited from Base
#on_failure, #on_success, #on_warning
Instance Method Summary collapse
-
#initialize(model, &block) ⇒ Campfire
constructor
A new instance of Campfire.
Methods inherited from Base
Methods included from Configuration::Helpers
#clear_defaults!, #load_defaults!
Constructor Details
#initialize(model, &block) ⇒ Campfire
Returns a new instance of Campfire.
33 34 35 36 37 |
# File 'lib/backup/notifier/campfire.rb', line 33 def initialize(model, &block) super(model) instance_eval(&block) if block_given? end |
Instance Attribute Details
#api_token ⇒ Object
Campfire api authentication token
23 24 25 |
# File 'lib/backup/notifier/campfire.rb', line 23 def api_token @api_token end |
#room_id ⇒ Object
Campfire account’s room id
31 32 33 |
# File 'lib/backup/notifier/campfire.rb', line 31 def room_id @room_id end |
#subdomain ⇒ Object
Campfire account’s subdomain
27 28 29 |
# File 'lib/backup/notifier/campfire.rb', line 27 def subdomain @subdomain end |