lib/page_rankr/tracker.rb in PageRankr-3.1.0 vs lib/page_rankr/tracker.rb in PageRankr-3.1.1

- old
+ new

@@ -11,10 +11,10 @@ attr_accessor :body def initialize(site, options = {}) @site = PageRankr::Site(site) - @options = {:method => method} + @options = {:method => method, :headers => {'User-Agent' => 'Page Rankr'}} @options[:params] = params if respond_to? :params @options.merge!(options) request.on_complete do |response| self.body = response.body \ No newline at end of file