123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::Atom::Feed

Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::RSSBase
Defined in: lib/rss/maker/feed.rb

Constant Summary

::RSS::Maker::Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(feed_version = "1.0") ⇒ Feed

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 7

def initialize(feed_version="1.0")
  super
  @feed_type = "atom"
  @feed_subtype = "feed"
end

Instance Method Details

#make_feed (private)

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 14

def make_feed
  ::RSS::Atom::Feed.new(@version, @encoding, @standalone)
end

#setup_elements(feed) (private)

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 18

def setup_elements(feed)
  setup_channel(feed)
  setup_image(feed)
  setup_items(feed)
end