Method: ActiveCMIS::Type::ClassMethods#required_attributes

Defined in:
lib/active_cmis/type.rb

#required_attributes{String => PropertyDefinition}

Returns A list of all required definitions (includes inherited attributes).

Returns:

  • ({String => PropertyDefinition})

    A list of all required definitions (includes inherited attributes)



87
88
89
# File 'lib/active_cmis/type.rb', line 87

def required_attributes
  attributes(true).reject {|key, value| !value.required}
end