module Ocman
Constants
- VERSION
Attributes
configuration[W]
Public Class Methods
configuration()
click to toggle source
# File lib/ocman.rb, line 16 def self.configuration @configuration ||= Ocman::Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/ocman.rb, line 20 def self.configure yield(configuration) end
create_folder(path, recursive: false)
click to toggle source
# File lib/ocman.rb, line 38 def self.create_folder(path, recursive: false) if recursive Ocman::Folder.create_recursive(path) else Ocman::Folder.create(path) end end
delete(path)
click to toggle source
# File lib/ocman.rb, line 51 def self.delete(path) Ocman::Item.delete(path) end
list(path, options = {})
click to toggle source
folder
# File lib/ocman.rb, line 34 def self.list(path, options = {}) Ocman::Folder.list(path, options) end
move(source_path, destination_path)
click to toggle source
# File lib/ocman.rb, line 55 def self.move(source_path, destination_path) Ocman::Item.move(source_path, destination_path) end
put(file_path, path, options = {})
click to toggle source
files
# File lib/ocman.rb, line 47 def self.put(file_path, path, options = {}) Ocman::Item.create(file_path, path, options) end