# File lib/fog/shared_file_system/openstack/models/share_access_rule.rb, line 16 def save requires :share, :access_level, :access_type, :access_to raise Fog::Errors::Error, 'Resaving an existing object may create a duplicate' if persisted? merge_attributes(service.grant_share_access(@share.id, access_to, access_type, access_level).body['access']) true end