class Ocman::Item
Public Class Methods
create(file, path, options = {})
click to toggle source
# File lib/ocman/item.rb, line 5 def self.create(file, path, options = {}) Ocman::Dav.new.put(file, CGI.escape(path), options) end
delete(path)
click to toggle source
# File lib/ocman/item.rb, line 9 def self.delete(path) Ocman::Dav.new.delete(CGI.escape(path)) end
move(source_path, destination_path)
click to toggle source
# File lib/ocman/item.rb, line 13 def self.move(source_path, destination_path) Ocman::Dav.new.move(CGI.escape(source_path), CGI.escape(destination_path)) end