module Eloqua::ImportedFile
Public Instance Methods
create_imported_file(file)
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 3 def create_imported_file(file) multipart_post("assets/importedFile/content", file) end
delete_imported_file(id)
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 19 def delete_imported_file(id) delete("assets/importedFile/%s" % id) end
get_imported_file(id, options={})
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 11 def get_imported_file(id, options={}) get("assets/importedFile/%s" % id, options) end
imported_file_folder(id, options={})
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 23 def imported_file_folder(id, options={}) options[:depth] ||= 'minimal' get("assets/importedFile/folder/%s" % id, options) end
imported_file_folder_folders(id, options={})
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 29 def imported_file_folder_folders(id, options={}) options[:count] ||= 10 options[:depth] ||= 'minimal' get("assets/importedFile/folder/%s/folders" % id, options) end
imported_file_folders(options={})
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 36 def imported_file_folders(options={}) options[:count] ||= 10 options[:depth] ||= 'minimal' get("assets/importedFile/folders", options) end
replace_imported_file(id, file)
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 7 def replace_imported_file(id, file) multipart_post("assets/importedFile/%s/content/replace" % id, file) end
update_imported_file(id, file)
click to toggle source
# File lib/eloqua_api/rest/imported_file.rb, line 15 def update_imported_file(id, file) put("assets/importedFile/%s" % id, file) end