README.md in feedzirra-0.6.0 vs README.md in feedzirra-0.7.0

- old
+ new

@@ -99,11 +99,12 @@ # updating multiple feeds. it expects a collection of feed objects updated_feeds = Feedzirra::Feed.update(feeds.values) # defining custom behavior on failure or success. note that a return status of 304 (not updated) will call the on_success handler feed = Feedzirra::Feed.fetch_and_parse("http://feeds.feedburner.com/PaulDixExplainsNothing", - :on_success => lambda [|url, feed| puts feed.title ], - :on_failure => lambda [|url, response_code, response_header, response_body| puts response_body ]) + :on_success => lambda {|url, feed| puts feed.title }, + :on_failure => lambda {|curl, error| puts error }) + # if a collection was passed into fetch_and_parse, the handlers will be called for each one # the behavior for the handlers when using Feedzirra::Feed.update is slightly different. The feed passed into on_success will be # the updated feed with the standard updated accessors. on failure it will be the original feed object passed into update