Class: FeedParser::Attachment
- Inherits:
-
Object
- Object
- FeedParser::Attachment
- Defined in:
- lib/feedparser/attachment.rb
Overview
also known as Enclosure
Instance Attribute Summary collapse
-
#community ⇒ Object
Returns the value of attribute community.
-
#description ⇒ Object
Returns the value of attribute description.
-
#length ⇒ Object
Returns the value of attribute length.
-
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
-
#title ⇒ Object
Elements from the media namespace attachment.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
(also: #uri)
Returns the value of attribute url.
Instance Attribute Details
#community ⇒ Object
Returns the value of attribute community.
19 20 21 |
# File 'lib/feedparser/attachment.rb', line 19 def community @community end |
#description ⇒ Object
Returns the value of attribute description.
18 19 20 |
# File 'lib/feedparser/attachment.rb', line 18 def description @description end |
#length ⇒ Object
Returns the value of attribute length.
12 13 14 |
# File 'lib/feedparser/attachment.rb', line 12 def length @length end |
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
17 18 19 |
# File 'lib/feedparser/attachment.rb', line 17 def thumbnail @thumbnail end |
#title ⇒ Object
Elements from the media namespace attachment
16 17 18 |
# File 'lib/feedparser/attachment.rb', line 16 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
13 14 15 |
# File 'lib/feedparser/attachment.rb', line 13 def type @type end |
#url ⇒ Object Also known as: uri
Returns the value of attribute url.
7 8 9 |
# File 'lib/feedparser/attachment.rb', line 7 def url @url end |