lib/chef/knife/ionoscloud_backupunit_ssourl.rb in knife-ionoscloud-6.0.0 vs lib/chef/knife/ionoscloud_backupunit_ssourl.rb in knife-ionoscloud-6.1.0
- old
+ new
@@ -10,17 +10,16 @@
option :backupunit_id,
short: '-B BACKUPUNIT_ID',
long: '--backupunit-id BACKUPUNIT_ID',
description: 'The ID of the Backup unit.'
- attr_reader :description, :required_options
-
def initialize(args = [])
super(args)
@description =
'The ProfitBricks backup system features a web-based GUI. Once you have created '\
'a backup unit, you can access the GUI with a Single Sign On \(SSO\) URL that can be '\
'retrieved from the Cloud API using this request.'
+ @directory = 'backup'
@required_options = [:backupunit_id, :ionoscloud_username, :ionoscloud_password]
end
def run
$stdout.sync = true