2011-02-08 10:09:43 -05:00
|
|
|
require 'nokogiri'
|
|
|
|
|
2012-05-14 14:10:36 -04:00
|
|
|
require 'fog/core'
|
2011-02-08 10:09:43 -05:00
|
|
|
require 'fog/core/parser'
|
|
|
|
|
|
|
|
module Fog
|
|
|
|
module Dynect
|
|
|
|
extend Fog::Provider
|
|
|
|
|
2011-09-22 20:00:48 -04:00
|
|
|
service(:dns, 'dynect/dns', 'DNS')
|
2011-02-08 10:09:43 -05:00
|
|
|
|
2011-08-29 19:04:13 -04:00
|
|
|
class Mock
|
|
|
|
def self.job_id
|
|
|
|
Fog::Mock.random_numbers(8).to_i
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.token
|
|
|
|
Fog::Mock.random_hex(48)
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.version
|
|
|
|
[Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1)].join('.')
|
|
|
|
end
|
|
|
|
end
|
2011-02-08 10:09:43 -05:00
|
|
|
end
|
|
|
|
end
|