module ActiveRecord::Remote::Helpers::XMLHelper

Public Instance Methods

as_xml() click to toggle source
# File lib/active_record/remote/helpers/xml_helper.rb, line 5
def as_xml
  serializable_hash.to_xml(xml_options)
end
xml_options() click to toggle source
# File lib/active_record/remote/helpers/xml_helper.rb, line 9
def xml_options
  {
    root: "ITEM_FILTER",
    dasherize: false,
    skip_types: true
  }
end