class Hermod::XmlSectionBuilder
def yes_node(name, options={})
options - a hash of options used to set up validations.
name - the name of the node. This will become the name of the method on the XmlSection.
sent if the boolean is true.
Public: defines a node for sending a boolean to HMRC. It will only be
def yes_node(name, options={}) create_method(name, [], [], options) do |value, attributes| [(value ? YES : nil), attributes] end end