Sha256: af253493f556606d9abd342da6ab244d0ba0c5879e06e3eda35500ea18063eac

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

module Aua::Agents::FeedReader
  KNOWN_CLIENTS = %w(Reeder AppleSyndication Netvibes Windows-RSS-Platform Vienna NewsGatorOnline NewsFire NetNewsWire MWFeedParser SimplePie MagpieRSS Feedfetcher-Google Apple-PubSub)
  
  def self.extend?(agent)
    KNOWN_CLIENTS.include?(agent.app) ||
    (agent.app == "Tumblr" && agent.products.include?("RSS") && agent.products.include?("syndication"))
  end
  
  def type
    :FeedReader
  end
  
  def name
    return :TumblrRSSSyndication if app == "Tumblr"
    app.to_sym
  end
  
  def version
    @version ||= versions.first 
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aua-0.2.2 lib/aua/agents/feed_reader.rb