Class: RSS::Maker::RSS20::Items::Item::Guid

Inherits:
RSS::Maker::RSS09::Items::Item::Guid show all
Defined in:
lib/rss/maker/2.0.rb

Instance Method Summary collapse

Instance Method Details

#to_feed(rss, item) ⇒ Object



114
115
116
117
118
119
120
121
122
# File 'lib/rss/maker/2.0.rb', line 114

def to_feed(rss, item)
  guid = Rss::Channel::Item::Guid.new
  set = setup_values(guid)
  if set
    item.guid = guid
    set_parent(guid, item)
    setup_other_elements(rss, guid)
  end
end