Class: Backup::CloudIO::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/backup/cloud_io/base.rb

Direct Known Subclasses

CloudFiles, QiNiu, S3

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



11
12
13
14
# File 'lib/backup/cloud_io/base.rb', line 11

def initialize(options = {})
  @max_retries    = options[:max_retries]
  @retry_waitsec  = options[:retry_waitsec]
end

Instance Attribute Details

#max_retriesObject (readonly)

Returns the value of attribute max_retries.



9
10
11
# File 'lib/backup/cloud_io/base.rb', line 9

def max_retries
  @max_retries
end

#retry_waitsecObject (readonly)

Returns the value of attribute retry_waitsec.



9
10
11
# File 'lib/backup/cloud_io/base.rb', line 9

def retry_waitsec
  @retry_waitsec
end