Class: ActiveCMIS::AtomicType::ID

Inherits:
Singleton show all
Defined in:
lib/active_cmis/atomic_types.rb

Instance Method Summary collapse

Methods inherited from Singleton

new

Methods inherited from CommonBase

#cmis2rb, #rb2cmis

Instance Method Details

#can_handle?(value) ⇒ Boolean

Returns:


206
207
208
# File 'lib/active_cmis/atomic_types.rb', line 206

def can_handle?(value)
  value.class < ::ActiveCMIS::Object || value.respond_to?(:to_s)
end

#to_sObject


193
194
195
# File 'lib/active_cmis/atomic_types.rb', line 193

def to_s
  "Id"
end