Class: Xberg::DocumentRevision
- Inherits:
-
Object
- Object
- Xberg::DocumentRevision
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#anchor ⇒ RevisionAnchor
readonly
Returns the value of attribute anchor.
-
#author ⇒ String
readonly
Returns the value of attribute author.
-
#delta ⇒ RevisionDelta
readonly
Returns the value of attribute delta.
-
#kind ⇒ RevisionKind
readonly
Returns the value of attribute kind.
-
#revision_id ⇒ String
readonly
Returns the value of attribute revision_id.
-
#timestamp ⇒ String
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize ⇒ DocumentRevision
constructor
A new instance of DocumentRevision.
Constructor Details
#initialize ⇒ DocumentRevision
Returns a new instance of DocumentRevision.
1660 |
# File 'sig/types.rbs', line 1660
def initialize: (revision_id: String, ?author: String, ?timestamp: String, kind: RevisionKind, ?anchor: RevisionAnchor, delta: RevisionDelta) -> void
|
Instance Attribute Details
#anchor ⇒ RevisionAnchor (readonly)
Returns the value of attribute anchor.
1657 1658 1659 |
# File 'sig/types.rbs', line 1657 def anchor @anchor end |
#author ⇒ String (readonly)
Returns the value of attribute author.
1654 1655 1656 |
# File 'sig/types.rbs', line 1654 def @author end |
#delta ⇒ RevisionDelta (readonly)
Returns the value of attribute delta.
1658 1659 1660 |
# File 'sig/types.rbs', line 1658 def delta @delta end |
#kind ⇒ RevisionKind (readonly)
Returns the value of attribute kind.
1656 1657 1658 |
# File 'sig/types.rbs', line 1656 def kind @kind end |
#revision_id ⇒ String (readonly)
Returns the value of attribute revision_id.
1653 1654 1655 |
# File 'sig/types.rbs', line 1653 def revision_id @revision_id end |
#timestamp ⇒ String (readonly)
Returns the value of attribute timestamp.
1655 1656 1657 |
# File 'sig/types.rbs', line 1655 def @timestamp end |