Method: ActiveCMIS::Type::ClassMethods#key

Defined in:
lib/active_cmis/type.rb

#keyString

Returns The CMIS ID of the type.

Returns:

  • (String)

    The CMIS ID of the type



112
113
114
# File 'lib/active_cmis/type.rb', line 112

def key
  @key ||= data.xpath("cra:type/c:id", NS::COMBINED).text
end