# File lib/chef/resource/http_request.rb, line 28 def initialize(name, run_context=nil) super @resource_name = :http_request @message = name @url = nil @action = :get @headers = {} @allowed_actions.push(:get, :put, :post, :delete, :head, :options) end
# File lib/chef/resource/http_request.rb, line 54 def headers(args=nil) set_or_return( :headers, args, :kind_of => Hash ) end
Generated with the Darkfish Rdoc Generator 2.