# File lib/fog/voxel/parsers/compute/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