lib/weary/resource.rb in mwunsch-weary-0.3.1 vs lib/weary/resource.rb in mwunsch-weary-0.4.0

- old
+ new

@@ -1,8 +1,8 @@ module Weary class Resource - attr_accessor :name, :domain, :with, :requires, :via, :format, :url, :authenticates, :follows + attr_accessor :name, :domain, :with, :requires, :via, :format, :url, :authenticates, :follows, :headers def initialize(name) self.name = name self.via = :get self.authenticates = false @@ -104,10 +104,11 @@ :requires => @requires, :follows => follows_redirects?, :authenticates => authenticates?, :format => @format, :url => @url, - :domain => @domain}} + :domain => @domain, + :headers => @headers}} end end end \ No newline at end of file