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 ⇒ enum_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.
629 |
# File 'sig/types.rbs', line 629
def initialize: (revision_id: String, ?author: String, ?timestamp: String, kind: enum_RevisionKind, ?anchor: RevisionAnchor, delta: RevisionDelta) -> void
|
Instance Attribute Details
#anchor ⇒ RevisionAnchor? (readonly)
Returns the value of attribute anchor.
626 627 628 |
# File 'sig/types.rbs', line 626 def anchor @anchor end |
#author ⇒ String? (readonly)
Returns the value of attribute author.
623 624 625 |
# File 'sig/types.rbs', line 623 def @author end |
#delta ⇒ RevisionDelta (readonly)
Returns the value of attribute delta.
627 628 629 |
# File 'sig/types.rbs', line 627 def delta @delta end |
#kind ⇒ enum_RevisionKind (readonly)
Returns the value of attribute kind.
625 626 627 |
# File 'sig/types.rbs', line 625 def kind @kind end |
#revision_id ⇒ String (readonly)
Returns the value of attribute revision_id.
622 623 624 |
# File 'sig/types.rbs', line 622 def revision_id @revision_id end |
#timestamp ⇒ String? (readonly)
Returns the value of attribute timestamp.
624 625 626 |
# File 'sig/types.rbs', line 624 def @timestamp end |