Class: Backup::Notifier::Presently

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/notifier/presently.rb

Defined Under Namespace

Classes: Client

Instance Attribute Summary collapse

Attributes inherited from Base

#on_failure, #on_success, #on_warning

Instance Method Summary collapse

Methods inherited from Base

#perform!

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_idObject

Group id



19
20
21
# File 'lib/backup/notifier/presently.rb', line 19

def group_id
  @group_id
end

#passwordObject

Presently credentials



15
16
17
# File 'lib/backup/notifier/presently.rb', line 15

def password
  @password
end

#subdomainObject

Presently subdomain



11
12
13
# File 'lib/backup/notifier/presently.rb', line 11

def subdomain
  @subdomain
end

#user_nameObject

Presently credentials



15
16
17
# File 'lib/backup/notifier/presently.rb', line 15

def user_name
  @user_name
end