From 1235d2d0b44f92d1397e6a29addebbe107b01449 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 13 Feb 2012 21:10:40 +0100 Subject: [PATCH] added account_info call --- lib/dummy_dropbox_sdk.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/dummy_dropbox_sdk.rb b/lib/dummy_dropbox_sdk.rb index 09d842c..3ea8a5c 100644 --- a/lib/dummy_dropbox_sdk.rb +++ b/lib/dummy_dropbox_sdk.rb @@ -85,6 +85,13 @@ def put_file(to_path, file_obj, overwrite=false, parent_rev=nil) FileUtils.copy_file(file_obj.path, File.join(DummyDropbox::root_path, to_path)) return self.metadata(to_path) end + + def account_info() + { + 'display_name' => 'Dummy Dropbox SDK', + 'email' => 'dummy_dropbox@example.com' + } + end # TODO these methods I don't used yet. They are commented out because they # have to be checked against the api if the signature match