This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bigcommerce' | |
require 'httparty' | |
require 'dropbox-api' | |
namespace :backups do | |
desc "Run a backup of all images" | |
task :run => :environment do | |
# let us setup a user with bcstore and dropbox creds | |
# this assumes that the user has allowed access to the dropbox application registered and in return, |