Sha256: b94642345c9c5160c9ea9e4b6c79ec8f5316c835c6429eef2526156d79075dce

Contents?: true

Size: 147 Bytes

Versions: 3

Compression:

Stored size: 147 Bytes

Contents

require 'delegate'
require 'multi_xml'

module Vacuum
  class Response < SimpleDelegator
    def to_h
      MultiXml.parse(body)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vacuum-1.1.0 lib/vacuum/response.rb
vacuum-1.0.0 lib/vacuum/response.rb
vacuum-0.5.0 lib/vacuum/response.rb