Class: FeedTools::Author
- Inherits:
-
Object
- Object
- FeedTools::Author
- Defined in:
- lib/feed_tools/feed_structures.rb
Overview
Represents a feed/feed item’s author
Instance Attribute Summary collapse
-
#email ⇒ Object
The author’s email address.
-
#href ⇒ Object
(also: #url, #uri)
The url of the author’s homepage.
-
#name ⇒ Object
The author’s real name.
-
#raw ⇒ Object
The raw value of the author tag if present.
Instance Attribute Details
#email ⇒ Object
The author’s email address
46 47 48 |
# File 'lib/feed_tools/feed_structures.rb', line 46 def email @email end |
#href ⇒ Object Also known as: url, uri
The url of the author’s homepage
48 49 50 |
# File 'lib/feed_tools/feed_structures.rb', line 48 def href @href end |
#name ⇒ Object
The author’s real name
44 45 46 |
# File 'lib/feed_tools/feed_structures.rb', line 44 def name @name end |
#raw ⇒ Object
The raw value of the author tag if present
50 51 52 |
# File 'lib/feed_tools/feed_structures.rb', line 50 def raw @raw end |