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.
1671 |
# File 'sig/types.rbs', line 1671
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.
1668 1669 1670 |
# File 'sig/types.rbs', line 1668 def anchor @anchor end |
#author ⇒ String (readonly)
Returns the value of attribute author.
1665 1666 1667 |
# File 'sig/types.rbs', line 1665 def @author end |
#delta ⇒ RevisionDelta (readonly)
Returns the value of attribute delta.
1669 1670 1671 |
# File 'sig/types.rbs', line 1669 def delta @delta end |
#kind ⇒ RevisionKind (readonly)
Returns the value of attribute kind.
1667 1668 1669 |
# File 'sig/types.rbs', line 1667 def kind @kind end |
#revision_id ⇒ String (readonly)
Returns the value of attribute revision_id.
1664 1665 1666 |
# File 'sig/types.rbs', line 1664 def revision_id @revision_id end |
#timestamp ⇒ String (readonly)
Returns the value of attribute timestamp.
1666 1667 1668 |
# File 'sig/types.rbs', line 1666 def @timestamp end |