class Hermod::XmlSection
def self.formats
for converting their values to strings HMRC will accept.
hash by default. These formats are used by the date and monetary nodes
Internal: provides access to the formats hash, falling back on an empty
def self.formats @formats ||= { date: "%Y-%m-%d", datetime: "%Y-%m-%d %H:%M:%S", money: "%.2f", } end