Class Tag
- Defined in: bindings.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Tag()
|
| Field Attributes | Field Name and Description |
|---|---|
|
Read-only The sha1 hash of this Tag.
|
|
|
The message associated with this Tag.
|
|
|
The name of this Tag.
|
|
|
The person who created this Tag.
|
|
|
The object this Tag is pointing at.
|
|
|
The type of object this Tag is pointing at.
|
Method Summary
| Method Attributes | Method Name and Description |
|---|---|
|
save(callback)
Saves the data contained in this Tag and updates the ID.
|
Field Detail
{String}
id
Read-only The sha1 hash of this Tag.
{String}
message
The message associated with this Tag.
{String}
name
The name of this Tag.
{Signature}
tagger
The person who created this Tag.
{String}
targetId
The object this Tag is pointing at.
{String}
targetType
The type of object this Tag is pointing at.
Method Detail
-
{Boolean} save(callback)Saves the data contained in this Tag and updates the ID.
- Parameters:
- {Function} callback Optional
- If provided, the Tag will be saved asynchronously and the results provided to the callback.
- Throws:
- If an error occurs during save process.
- Returns:
- {Boolean} true if successful.