Class: IMAPToRSS::RSSItem
- Inherits:
-
Struct
- Object
- Struct
- IMAPToRSS::RSSItem
- Defined in:
- lib/imap_to_rss.rb
Overview
A Struct representing an RSS item for the RSS feed. Contains fields title
, description
, author
, pub_date
, link
, guid
, and category
.
Typically, the message id of the email can be used for the guid. When the RSS feed is generated, the guid is never used as a URL (isPermaLink is set to false).
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#category ⇒ Object
Returns the value of attribute category.
-
#description ⇒ Object
Returns the value of attribute description.
-
#guid ⇒ Object
Returns the value of attribute guid.
-
#link ⇒ Object
Returns the value of attribute link.
-
#pub_date ⇒ Object
Returns the value of attribute pub_date.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def end |
#category ⇒ Object
Returns the value of attribute category
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def category @category end |
#description ⇒ Object
Returns the value of attribute description
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def description @description end |
#guid ⇒ Object
Returns the value of attribute guid
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def guid @guid end |
#link ⇒ Object
Returns the value of attribute link
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def link @link end |
#pub_date ⇒ Object
Returns the value of attribute pub_date
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def pub_date @pub_date end |
#title ⇒ Object
Returns the value of attribute title
28 29 30 |
# File 'lib/imap_to_rss.rb', line 28 def title @title end |