Class: RSS::Maker::Atom::Entry::Items::Item

Inherits:
ItemBase
  • Object
show all
Defined in:
lib/rss/maker/entry.rb

Instance Method Summary collapse

Instance Method Details

#to_feed(entry) ⇒ Object



67
68
69
70
71
72
73
74
75
76
# File 'lib/rss/maker/entry.rb', line 67

def to_feed(entry)
  set_default_values do
    setup_values(entry)
    entry.dc_dates.clear
    setup_other_elements(entry)
    unless have_required_values?
      raise NotSetError.new("maker.item", not_set_required_variables)
    end
  end
end