module Orientdb4r::DocumentMetadata
This module represents API to document metadata.
Public Instance Methods
doc_class()
click to toggle source
Gets the document class.
# File lib/orientdb4r/rest/model.rb, line 134 def doc_class self['@class'] end
doc_rid()
click to toggle source
Gets the document ID.
# File lib/orientdb4r/rest/model.rb, line 140 def doc_rid @mixedin_rid = Rid.new(self['@rid']) if @mixedin_rid.nil? @mixedin_rid end
doc_type()
click to toggle source
Gets the document type.
# File lib/orientdb4r/rest/model.rb, line 153 def doc_type self['@type'] end
doc_version()
click to toggle source
Gets the document version.
# File lib/orientdb4r/rest/model.rb, line 147 def doc_version self['@version'] end