Sha256: c9b09b5ef99d64b2b97614eb6697529c8c6819137e9147b46e2afc6ba1f7302f
Contents?: true
Size: 589 Bytes
Versions: 15
Compression:
Stored size: 589 Bytes
Contents
module Fog module Parsers module Compute module Voxel class Basic < Fog::Parsers::Base def reset @response = {} end def start_element(name, attrs = []) super case name when 'err' @response['err'] = { 'code' => attr_value('code', attrs), 'msg' => attr_value('msg', attrs) } when 'rsp' @response['stat'] = attr_value('stat', attrs) end end end end end end end
Version data entries
15 entries across 15 versions & 4 rubygems