lib/nexpose/tag.rb
def add_to_group(connection, group_id)
      params = _to_json_for_add
      uri = AJAX.post(connection, "/api/2.0/asset_groups/#{group_id}/tags", params, AJAX::CONTENT_TYPE::JSON)
      @id = uri.split('/').last.to_i
    end
# Adds a tag to an asset group
#
# @param [Connection] connection Nexpose connection
# @param [Fixnum] group_id id of the asset group to be tagged
# @return [Fixnum] ID of applied tag
#
Adds a tag to an asset group
Adds a tag to an asset group
def add_to_group(connection, group_id)
      params = _to_json_for_add
      uri = AJAX.post(connection, "/api/2.0/asset_groups/#{group_id}/tags", params, AJAX::CONTENT_TYPE::JSON)
      @id = uri.split('/').last.to_i
    end
def add_to_group ( connection , group_id ) params = _to_json_for_add uri = AJAX . post ( connection , "/api/2.0/asset_groups/#{group_id}/tags" , params , AJAX :: CONTENT_TYPE :: JSON ) @id = uri . split ( '/' ) . last . to_i end
Adds a tag to an asset group
Adds a tag to an asset group
ID of applied tag
ID of applied tag
Fixnum
connection
group_id
group_id id of the asset group to be tagged
group_id id of the asset group to be tagged