Class: Brrr::Channel::TextInput

Inherits:
Feed::Element show all
Defined in:
lib/brrr/channel/text_input.rb

Instance Method Summary collapse

Methods inherited from Feed::Element

#value

Constructor Details

#initialize(node) ⇒ TextInput

Returns a new instance of TextInput.



5
6
7
# File 'lib/brrr/channel/text_input.rb', line 5

def initialize(node)
  super
end

Instance Method Details

#descriptionObject



13
14
15
# File 'lib/brrr/channel/text_input.rb', line 13

def description
  node.at_xpath("./description").content
end


21
22
23
# File 'lib/brrr/channel/text_input.rb', line 21

def link
  node.at_xpath("./link").content
end

#nameObject



17
18
19
# File 'lib/brrr/channel/text_input.rb', line 17

def name
  node.at_xpath("./name").content
end

#titleObject



9
10
11
# File 'lib/brrr/channel/text_input.rb', line 9

def title
  node.at_xpath("./title").content
end