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

#communityObject

Returns the value of attribute community.



19
20
21
# File 'lib/feedparser/attachment.rb', line 19

def community
  @community
end

#descriptionObject

Returns the value of attribute description.



18
19
20
# File 'lib/feedparser/attachment.rb', line 18

def description
  @description
end

#lengthObject

Returns the value of attribute length.



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

def length
  @length
end

#thumbnailObject

Returns the value of attribute thumbnail.



17
18
19
# File 'lib/feedparser/attachment.rb', line 17

def thumbnail
  @thumbnail
end

#titleObject

Elements from the media namespace attachment



16
17
18
# File 'lib/feedparser/attachment.rb', line 16

def title
  @title
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