lib/nanoc/data_sources/deprecated/twitter.rb in nanoc-3.6.7 vs lib/nanoc/data_sources/deprecated/twitter.rb in nanoc-3.6.8

- old
+ new

@@ -9,10 +9,10 @@ @item ||= begin require 'json' # Get data @http_client ||= Nanoc::Extra::CHiCk::Client.new - status, headers, data = *@http_client.get("http://twitter.com/statuses/user_timeline/#{self.config[:username]}.json") + _status, _headers, data = *@http_client.get("http://twitter.com/statuses/user_timeline/#{config[:username]}.json") # Parse as JSON raw_items = JSON.parse(data) # Convert to items