Class: Brrr::Item::Enclosure
- Inherits:
-
Feed::Element
- Object
- Feed::Element
- Brrr::Item::Enclosure
- Defined in:
- lib/brrr/item/enclosure.rb
Instance Method Summary collapse
Methods inherited from Feed::Element
Constructor Details
This class inherits a constructor from Brrr::Feed::Element
Instance Method Details
#length ⇒ Object
8 9 10 |
# File 'lib/brrr/item/enclosure.rb', line 8 def length Integer(node.attribute("length").value) end |
#type ⇒ Object
12 13 14 |
# File 'lib/brrr/item/enclosure.rb', line 12 def type node.attribute("type").value end |
#url ⇒ Object
4 5 6 |
# File 'lib/brrr/item/enclosure.rb', line 4 def url node.attribute("url").value end |