Method: Wdmc::Client#get_acl
- Defined in:
- lib/wdmc/client.rb
#get_acl(name) ⇒ Object
working with ACL of a share get the specified share access
135 136 137 138 |
# File 'lib/wdmc/client.rb', line 135 def get_acl( name ) response = get("#{@config['url']}/api/2.1/rest/share_access/#{name}", {accept: :json, :cookies => }) JSON.parse(response, :symbolize_names => true)[:share_access_list] end |