Permalink
Browse files

fix late eval

  • Loading branch information...
1 parent bac3831 commit 66e9f4e4f9b6011e99a6352a9b0361b50427245b @bumi committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dropbox-api/client/raw.rb
@@ -11,7 +11,7 @@ def initialize(options = {})
def self.add_method(method, action, options = {})
# Add the default root bit, but allow it to be disabled by a config option
- root = options[:root] == false ? '' : "options[:root] ||= '#{Dropbox::API::Config.mode}'"
+ root = options[:root] == false ? '' : "options[:root] ||= Dropbox::API::Config.mode"
self.class_eval <<-STR
def #{options[:as] || action}(options = {})
#{root}

0 comments on commit 66e9f4e

Please sign in to comment.