# File lib/twitter/client/timeline.rb, line 76 def timeline_for(type, options = {}, &block) raise ArgumentError, "Invalid timeline type: #{type}" unless @@TIMELINE_URIS.keys.member?(type) uri = @@TIMELINE_URIS[type] response = rest_oauth_connect(:get, uri, options) timeline = Twitter::Status.unmarshal(response.body) timeline.each {|status| bless_model(status); yield status if block_given? } timeline end