Sha256: cbf55c9465bbeb1964ee4521df122ba7b46af6e204f50257f9c36cf525a1e5f0
Contents?: true
Size: 282 Bytes
Versions: 1
Compression:
Stored size: 282 Bytes
Contents
require 'simple-rss' require 'open-uri' module Feed2Mail class Feed attr_reader :uri def initialize(uri) @uri = uri @data = nil end def items @data ||= SimpleRSS.parse open @uri @data.entries.collect { |e| Item.new e } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feed2mail-0.0.1 | lib/feed2mail/feed.rb |