Method: RightAws::AcwInterface::ListMetricsParser#tagend

Defined in:
lib/acw/right_acw_interface.rb

#tagend(name) ⇒ Object



228
229
230
231
232
233
234
235
236
237
238
239
240
# File 'lib/acw/right_acw_interface.rb', line 228

def tagend(name)
  case name
  when 'MeasureName' then @item[:measure_name] = @text
  when 'Namespace'   then @item[:namespace] = @text
  when 'Name'        then @dname  = @text
  when 'Value'       then @dvalue = @text
  when 'member'
    case @xmlpath
    when "#@p/member/Dimensions" then @item[:dimentions][@dname] = @dvalue
    when @p then @result << @item
    end
  end
end