class Hermod::XmlSectionBuilder
def yes_no_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 it's true and a "no" will be sent if it's false
Public: defines a node for sending a boolean to HMRC. A "yes" will be
def yes_no_node(name, options={}) create_method(name, [], [], options) do |value, attributes| [(value ? YES : NO), attributes] end end