Method: ActiveCMIS::Type::ClassMethods#attribute_prefixes
- Defined in:
- lib/active_cmis/type.rb
#attribute_prefixes ⇒ <String>
Returns A list of prefixes that can be used for adressing attributes (like cmis:).
92 93 94 95 96 97 98 |
# File 'lib/active_cmis/type.rb', line 92 def attribute_prefixes @prefixes ||= attributes(true).keys.map do |key| if key =~ /^([^:]+):/ $1 end end.compact.uniq end |