class Fog::Parsers::DNS::Slicehost::CreateZone

Public Instance Methods

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