Sha256: a1ef8baa402568bdb1005207fbcc1300affefe35bef54fdfd64ace9f4f986f92
Contents?: true
Size: 400 Bytes
Versions: 57
Compression:
Stored size: 400 Bytes
Contents
module CMIS class Relationship < Object def initialize(raw, repository) super cmis_properties %w( cmis:sourceId cmis:targetId ) end def source(opts = {}) repository.object(source_id, opts) end def target(opts = {}) repository.object(target_id, opts) end def create(opts = {}) repository.create_relationship(self, opts) end end end
Version data entries
57 entries across 57 versions & 1 rubygems