Class: Ognivo::Appcast::Item
- Inherits:
-
Struct
- Object
- Struct
- Ognivo::Appcast::Item
- Defined in:
- lib/ognivo/appcast.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#dsa_signature ⇒ Object
Returns the value of attribute dsa_signature.
-
#length ⇒ Object
Returns the value of attribute length.
-
#pub_date ⇒ Object
Returns the value of attribute pub_date.
-
#sparkle_version ⇒ Object
Returns the value of attribute sparkle_version.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def description @description end |
#dsa_signature ⇒ Object
Returns the value of attribute dsa_signature
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def dsa_signature @dsa_signature end |
#length ⇒ Object
Returns the value of attribute length
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def length @length end |
#pub_date ⇒ Object
Returns the value of attribute pub_date
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def pub_date @pub_date end |
#sparkle_version ⇒ Object
Returns the value of attribute sparkle_version
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def sparkle_version @sparkle_version end |
#title ⇒ Object
Returns the value of attribute title
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def title @title end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def type @type end |
#url ⇒ Object
Returns the value of attribute url
5 6 7 |
# File 'lib/ognivo/appcast.rb', line 5 def url @url end |
Instance Method Details
#to_node(xml) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ognivo/appcast.rb', line 7 def to_node(xml) xml.item do xml.title title xml.description do xml.cdata description end xml.pubDate pub_date.rfc2822 xml.enclosure enclosure end end |