Created
July 18, 2012 18:25
-
-
Save carsontang/3137889 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'facebook_feed' | |
class GroupFeedAnalyzer | |
def initialize | |
end | |
private | |
def download_entire_feed | |
unless not feed_downloader.has_more_pages? | |
end | |
end | |
end | |
end | |
module FacebookFeed | |
class FeedDownloader | |
def initialize(feed_id) | |
@feed_urls = [] | |
end | |
def has_more_pages? | |
!@feed_urls.empty? | |
end | |
def download_next_page | |
end | |
def download_feed_page(feed_page_url) | |
end | |
end | |
class FeedAnalyzer | |
end | |
class GroupFeedDownloader < FeedDownloader | |
end | |
class GroupFeedAnalyzer < FeedAnalyzer | |
end | |
class PersonFeedDownloader < FeedDownloader | |
end | |
class PersonFeedAnalyzer < FeedAnalyzer | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment