Sha256: 5d2b8354b93aad5ca3872ec1d60df5129c984b1abcecb1245cd6270363a45724
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
begin require 'dropbox_sdk' require 'launchy' rescue Exception => e puts "Some gems are missing." abort e.message end require_relative 'dropbox_utility/config' require_relative 'dropbox_utility/version' require_relative 'dropbox_utility/session' require_relative 'dropbox_utility/client' require_relative 'dropbox_utility/files' module DropboxUtility @@session = nil @@client = nil def self.authenticate @@session = Session::exists? ? Session::retrieve : Session::create @@client = Client.new(@@session, Config::ACCESS_TYPE) end def self.client @@client end def self.delete_authentication_file Session.delete end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dropbox-utility-0.0.6 | lib/dropbox_utility.rb |