Class: Merb::Request

Inherits:
Object show all
Defined in:
lib/simple_mapper/support/bliss_serializer.rb

Instance Method Summary collapse

Instance Method Details

#xml_paramsObject



104
105
106
107
108
109
110
# File 'lib/simple_mapper/support/bliss_serializer.rb', line 104

def xml_params
  @xml_params ||= begin
    if Merb::Const::XML_MIME_TYPE_REGEXP.match(content_type)
      Serialize.hash_from_xml(raw_post) rescue Mash.new
    end
  end
end