Method: Calligraphy::Resource#copy_options

Defined in:
lib/calligraphy/resource/resource.rb

#copy_options(_options) ⇒ Object

Responsible for returning a hash with keys indicating if the resource can be copied, if an ancestor exists, or if the copy destinatin is locked.

Return hash should contain can_copy, ancestor_exist, and locked keys with boolean values.

Used in COPY and MOVE (which inherits from COPY) requests.

Raises:



47
48
49
# File 'lib/calligraphy/resource/resource.rb', line 47

def copy_options(_options)
  raise NotImplementedError
end