Module: RegApi2::Folder
Overview
REG.API folder category
Instance Method Summary (collapse)
-
- (Object) add_services(opts = {})
Use this function to add services to folders.
-
- (void) create(opts = {})
Creates a folder.
-
- (Object) get_services(opts = {})
Use this function to obtain the list of services available in the folder.
-
- (Object) move_services(opts = {})
Use this function to move service between folders.
-
- (Hash(id, name)) nop(opts = {})
You can use this test function to check the availability of folders.
-
- (void) remove(opts = {})
Removes a folder.
-
- (Object) remove_services(opts = {})
Use this function to delete services from folders.
-
- (Hash(folder_content)) rename(opts = {})
Renames a folder.
-
- (Object) replace_services(opts = {})
This function allows replacement of services already available in a folder with other services (deletes the service available in the folder and adds the services defined by the domain_name or service_id parameter).
Methods included from Builder
Instance Method Details
- (Object) add_services(opts = {})
Use this function to add services to folders.
68 |
# File 'lib/reg_api2/folder.rb', line 68 define :add_services |
- (void) create(opts = {})
Support of service lists: no
This method returns an undefined value.
Creates a folder.
31 |
# File 'lib/reg_api2/folder.rb', line 31 define :create, required: %w[ folder_name ] |
- (Object) get_services(opts = {})
Use this function to obtain the list of services available in the folder.
63 |
# File 'lib/reg_api2/folder.rb', line 63 define :get_services |
- (Object) move_services(opts = {})
Use this function to move service between folders.
83 |
# File 'lib/reg_api2/folder.rb', line 83 define :move_services |
- (Hash(id, name)) nop(opts = {})
Support of service lists: no
You can use this test function to check the availability of folders.
21 |
# File 'lib/reg_api2/folder.rb', line 21 define :nop |
- (void) remove(opts = {})
Support of service lists: no
This method returns an undefined value.
Removes a folder.
44 |
# File 'lib/reg_api2/folder.rb', line 44 define :remove |
- (Object) remove_services(opts = {})
Use this function to delete services from folders.
73 |
# File 'lib/reg_api2/folder.rb', line 73 define :remove_services |
- (Hash(folder_content)) rename(opts = {})
Support of service lists: no
Renames a folder.
58 |
# File 'lib/reg_api2/folder.rb', line 58 define :rename, required: %w[ new_folder_name ] |
- (Object) replace_services(opts = {})
This function allows replacement of services already available in a folder with other services (deletes the service available in the folder and adds the services defined by the domain_name or service_id parameter).
78 |
# File 'lib/reg_api2/folder.rb', line 78 define :replace_services |