Sha256: 2e653029ad84596bfd6cfba246a253d79b9a881f485231ae31638eb88d453735
Contents?: true
Size: 472 Bytes
Versions: 12
Compression:
Stored size: 472 Bytes
Contents
# encoding: utf-8 module Laximo module Respond class ExecCustomOperation < Laximo::Respond::Base def parsing_result(str) str.xpath('//ExecCustomOperation/row').inject([]) { |arr, node| h = node_to_hash(node) { |h1, n1| h1[:attributes] = nodes_to_hash(n1.xpath('./attribute')) } arr << h unless h.empty? } end # parsing_result end # ExecCustomOperation end # Respond end # Laximo
Version data entries
12 entries across 12 versions & 1 rubygems