Class: FeedParser::Attachment
- Inherits:
-
Object
- Object
- FeedParser::Attachment
- Defined in:
- lib/feedparser/attachment.rb
Overview
also known as Enclosure
Instance Attribute Summary collapse
-
#length ⇒ Object
Returns the value of attribute length.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
(also: #uri)
Returns the value of attribute url.
Instance Attribute Details
#length ⇒ Object
Returns the value of attribute length.
12 13 14 |
# File 'lib/feedparser/attachment.rb', line 12 def length @length 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 |