lib/todoist/util/network_helper.rb in todoist-ruby-0.2.5 vs lib/todoist/util/network_helper.rb in todoist-ruby-0.2.6

- old
+ new

@@ -27,9 +27,10 @@ return http end def configure_request(command, params) request = Net::HTTP::Post.new(Config.getURI()[command].request_uri) + request['Authorization'] = 'Bearer ' + params[:token] request.set_form_data(params) return request end # Files need to be of class UploadIO