Each item of the RSS feed has a corresponding Feed object associated with it.

Methods
Constants
ValueAccessors = [:name, :title, :label, :text]
Public Class methods
extract_rss_value(record)

Helper method to automagically fill in the item‘s attributes

    # File app/models/feed.rb, line 16
16:   def self.extract_rss_value(record)
17:     ValueAccessors.each do |accessor|
18:       next unless record.respond_to? accessor
19:       return record.send accessor
20:     end
21:     return nil
22:   end
Public Instance methods
description()

The description of the item

    # File app/models/feed.rb, line 11
11:   def description
12:     "#{self.value}"
13:   end
title()

This item‘s title

   # File app/models/feed.rb, line 6
6:   def title
7:     "#{self.resource.humanize} #{self.action}"
8:   end