Class: Seiun::XMLParsers::ResultXML
- Inherits:
-
Base
- Object
- Base
- Seiun::XMLParsers::ResultXML
show all
- Defined in:
- lib/seiun/xml_parsers/result_xml.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #to_hash
Class Method Details
.each(xml_str, find_tag: "result", &block) ⇒ Object
5
6
7
|
# File 'lib/seiun/xml_parsers/result_xml.rb', line 5
def each(xml_str, find_tag: "result", &block)
parse(xml_str, find_tag, block)
end
|
Instance Method Details
#result_id ⇒ Object
10
11
12
13
|
# File 'lib/seiun/xml_parsers/result_xml.rb', line 10
def result_id
return unless result.is_a?(String)
result
end
|