Share

WSCommit

A single commit to a WSModelObject using merge version control.

The methods of this class are read only, and return the value in one of the fields that appears in the commit grid.

Methods:

branch_id

#branch_id ⇒ Integer

EXCHANGE

Returns the branch ID.

comment

#comment ⇒ String

EXCHANGE

Returns any comment associated with this commit. Comments are optional, so this may be an empty string.

commit_id

#commit_id ⇒ Integer

EXCHANGE

Returns the commit ID.

date

#date ⇒ DateTime

EXCHANGE

Returns the date.

deleted_count

#deleted_count ⇒ Integer

EXCHANGE

Returns the number of objects that were deleted.

inserted_count

#inserted_count ⇒ Integer

EXCHANGE

Returns the number of objects that were inserted.

modified_count

#modified_count ⇒ Integer

EXCHANGE

Returns the number of objects that were modified.

setting_changed_count

#setting_changed_count ⇒ Integer

EXCHANGE

Returns the number of settings that were changed.

Note: 'setting' is not plural.

user

#user ⇒ String

EXCHANGE

Returns the username associated with this commit.

Was this information helpful?