class AtomFeed::AtomCategory
Public Class Methods
new(node)
click to toggle source
Initializes the link.
# File lib/atom_feed/atom_category.rb, line 4 def initialize(node) @node = node end
Public Instance Methods
label()
click to toggle source
Human readable label (optional).
# File lib/atom_feed/atom_category.rb, line 19 def label @node["label"] end
scheme()
click to toggle source
A categorization scheme (optional).
# File lib/atom_feed/atom_category.rb, line 14 def scheme @node["scheme"] end
term()
click to toggle source
Identifies the category (required).
# File lib/atom_feed/atom_category.rb, line 9 def term @node["term"] end