class Fog::Parsers::Compute::Slicehost::GetImage

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/slicehost/parsers/compute/get_image.rb, line 12
def end_element(name)
  case name
  when 'id'
    @response[name] = value.to_i
  when 'name'
    @response[name] = value
  end
end
reset() click to toggle source
# File lib/fog/slicehost/parsers/compute/get_image.rb, line 8
def reset
  @response = {}
end