1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

whoops forgot to add these files

This commit is contained in:
Michael Hale 2011-02-08 10:09:43 -05:00 committed by geemus
parent 146d6e8b0c
commit bac6906534
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,25 @@
module Fog
module Parsers
module Dynect
module DNS
class Session < Fog::Parsers::Base
def reset
@response = {}
end
def end_element(name)
case name
when 'token'
@response['API-Token'] = @value
when 'version'
@response['API-Version'] = @value
end
end
end
end
end
end
end

View file

@ -0,0 +1,14 @@
require 'nokogiri'
require 'fog/core'
require 'fog/core/parser'
module Fog
module Dynect
extend Fog::Provider
service(:dns, 'dns/dynect')
end
end