lib/chef/knife/ionoscloud_share_update.rb in knife-ionoscloud-6.0.0 vs lib/chef/knife/ionoscloud_share_update.rb in knife-ionoscloud-6.1.0
- old
+ new
@@ -24,15 +24,14 @@
option :share_privilege,
short: '-s SHARE_PRIVILEGE',
long: '--share SHARE_PRIVILEGE',
description: 'The group has permission to share this resource.'
- attr_reader :description, :required_options
-
def initialize(args = [])
super(args)
@description =
'Updates information about a Ionoscloud Group Share.'
+ @directory = 'user'
@required_options = [:group_id, :resource_id, :ionoscloud_username, :ionoscloud_password]
@updatable_fields = [:edit_privilege, :share_privilege]
end
def run