Class: FeedParser::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/feedparser/attachment.rb

Overview

also known as Enclosure

Instance Attribute Summary collapse

Instance Attribute Details

#lengthObject

Returns the value of attribute length


12
13
14
# File 'lib/feedparser/attachment.rb', line 12

def length
  @length
end

#typeObject

Returns the value of attribute type


13
14
15
# File 'lib/feedparser/attachment.rb', line 13

def type
  @type
end

#urlObject Also known as: uri

Returns the value of attribute url


7
8
9
# File 'lib/feedparser/attachment.rb', line 7

def url
  @url
end