Class: Backup::Notifier::Presently
- Defined in:
- lib/backup/notifier/presently.rb
Defined Under Namespace
Classes: Client
Instance Attribute Summary collapse
-
#group_id ⇒ Object
Group id.
-
#password ⇒ Object
Presently credentials.
-
#subdomain ⇒ Object
Presently subdomain.
-
#user_name ⇒ Object
Presently credentials.
Attributes inherited from Base
#on_failure, #on_success, #on_warning
Instance Method Summary collapse
-
#initialize(model, &block) ⇒ Presently
constructor
A new instance of Presently.
Methods inherited from Base
Methods included from Configuration::Helpers
#clear_defaults!, #load_defaults!
Constructor Details
#initialize(model, &block) ⇒ Presently
Returns a new instance of Presently.
21 22 23 24 25 |
# File 'lib/backup/notifier/presently.rb', line 21 def initialize(model, &block) super(model) instance_eval(&block) if block_given? end |
Instance Attribute Details
#group_id ⇒ Object
Group id
19 20 21 |
# File 'lib/backup/notifier/presently.rb', line 19 def group_id @group_id end |
#password ⇒ Object
Presently credentials
15 16 17 |
# File 'lib/backup/notifier/presently.rb', line 15 def password @password end |
#subdomain ⇒ Object
Presently subdomain
11 12 13 |
# File 'lib/backup/notifier/presently.rb', line 11 def subdomain @subdomain end |
#user_name ⇒ Object
Presently credentials
15 16 17 |
# File 'lib/backup/notifier/presently.rb', line 15 def user_name @user_name end |