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.
1750 |
# File 'sig/types.rbs', line 1750
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.
1747 1748 1749 |
# File 'sig/types.rbs', line 1747 def anchor @anchor end |
#author ⇒ String (readonly)
Returns the value of attribute author.
1744 1745 1746 |
# File 'sig/types.rbs', line 1744 def @author end |
#delta ⇒ RevisionDelta (readonly)
Returns the value of attribute delta.
1748 1749 1750 |
# File 'sig/types.rbs', line 1748 def delta @delta end |
#kind ⇒ RevisionKind (readonly)
Returns the value of attribute kind.
1746 1747 1748 |
# File 'sig/types.rbs', line 1746 def kind @kind end |
#revision_id ⇒ String (readonly)
Returns the value of attribute revision_id.
1743 1744 1745 |
# File 'sig/types.rbs', line 1743 def revision_id @revision_id end |
#timestamp ⇒ String (readonly)
Returns the value of attribute timestamp.
1745 1746 1747 |
# File 'sig/types.rbs', line 1745 def @timestamp end |