Method: Backup::Storage::Qiniu#initialize
- Defined in:
- lib/backup/storage/qiniu.rb
#initialize(model, storage_id = nil) ⇒ Qiniu
Returns a new instance of Qiniu.
18 19 20 21 22 23 24 25 |
# File 'lib/backup/storage/qiniu.rb', line 18 def initialize(model, storage_id = nil) super @path ||= 'backups' check_configuration config_credentials end |