lib/weary/base.rb in weary-0.7.1 vs lib/weary/base.rb in weary-0.7.2

- old
+ new

@@ -45,10 +45,10 @@ # Methods that are understood are: # [<tt>via</tt>] Get, Post, etc. Defaults to a GET request # [<tt>with</tt>] An array of parameters that will be passed to the body or query of the request. If you pass a hash, it will define default <tt>values</tt> for params <tt>keys</tt> # [<tt>requires</tt>] Array of members of <tt>:with</tt> that are required by the resource. # [<tt>authenticates</tt>] Boolean value; does the resource require authentication? - # [<tt>url</tt>] The url of the resource. You can use the same flags as #construct_url + # [<tt>url</tt>] The url of the resource. # [<tt>follows</tt>] Boolean; Does this follow redirects? Defaults to true # [<tt>headers</tt>] Set headers for the HTTP Request def get(name,&block) build_resource(name, :get, &block) end \ No newline at end of file