module ConfigurationFilesHelper def pull_command(file) url = pull_file_url(file) "curl -o #{file.file_path} #{url}" end def push_command(file) url = push_file_url(file) %Q{ curl -F "content=@#{file.file_path}" #{url} } end end