Class: Crefo::XML::Request::Body

Inherits:
Object
  • Object
show all
Defined in:
lib/crefo/xml/request/body.rb

Class Method Summary collapse

Class Method Details

.build(xml, nodes) ⇒ Object



6
7
8
# File 'lib/crefo/xml/request/body.rb', line 6

def build(xml, nodes)
  Utils::HashToNodes.call(xml, :body, nodes) unless nodes.empty?
end