class Agave::Site::Client

Public Instance Methods

upload_file(path_or_url) click to toggle source
# File lib/agave/site/client.rb, line 13
def upload_file(path_or_url)
  file = Upload::File.new(self, path_or_url)
  file.upload
end
upload_image(path_or_url) click to toggle source
# File lib/agave/site/client.rb, line 18
def upload_image(path_or_url)
  file = Upload::Image.new(self, path_or_url)
  file.upload
end