Class: IControl::ARX::Share

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/arx/share.rb,
lib/icontrol/arx.rb

Overview

The Share Interface lets applications retrieve ARX share information.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IControl::Base

Instance Method Details

#definition(opts) ⇒ ShareDefinition

Returns a list of share definitions for this shares.

Options Hash (opts):

  • :volume (String)

    The volume name.

  • :shares (String)

    A list of share names.



15
16
17
18
# File 'lib/icontrol/arx/share.rb', line 15

def definition(opts)
  opts = check_params(opts,[:volume,:shares])
  super(opts)
end

#list(opts) ⇒ String

Returns the list of shares.

Options Hash (opts):

  • :volume (String)

    The volume name.



26
27
28
29
# File 'lib/icontrol/arx/share.rb', line 26

def list(opts)
  opts = check_params(opts,[:volume])
  super(opts)
end