# File lib/fog/compute/parsers/voxel/voxcloud_status.rb, line 27 def end_element(name) case name when 'device' @response['devices'] << @device @device = {} when 'id', 'status' @device[name] = value when 'last_update' @device[name] = Time.at(value.to_i) end end