lib/runcible/base.rb in runcible-0.0.4 vs lib/runcible/base.rb in runcible-0.0.5
- old
+ new
@@ -53,9 +53,11 @@
end
def self.call(method, path, options={})
path = config[:api_path] + path
+ RestClient.log = config[:logger] if config[:logger]
+
headers = config[:headers]
headers[:params] = options[:params] if options[:params]
if config[:oauth]
headers = add_oauth_header(method, path, headers) if config[:oauth]