//
//  OperationDropbox.h
//  tuber
//
//  Created by ドラッサル 亜嵐 on 2017/06/06.
//  Copyright © 2017年 ドラッサル 亜嵐. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface OperationDropbox : NSObject {
    NSString *relinkUserId;
}

- (void)uploadFile:(NSString*)uploadFilename
        sourcePath:(NSString*)sourcePath
           success:(void(^)(id JSON))successHandler
           failure:(void(^)(NSError *error, id JSON))failureHandler;
- (void)connectToDropbox:(UIViewController*)controller;
- (BOOL)isLinked;

@property (nonatomic, strong) UIViewController *rootViewController;

+ (instancetype)sharedInstance;

@end
