class BrickFTP::RESTfulAPI::CreateFolder

Create a folder

@see developers.files.com/#create-a-folder Create a folder

Public Instance Methods

call(path) click to toggle source

Creates a folder.

@param [String] path @return [BrickFTP::Types::Folder] Folders

# File lib/brick_ftp/restful_api/create_folder.rb, line 19
def call(path)
  client.post("/api/rest/v1/folders/#{ERB::Util.url_encode(path)}")
  true
end