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

27 lines
520 B
Ruby
Raw Normal View History

2011-02-08 10:09:43 -05:00
require 'nokogiri'
require(File.expand_path(File.join(File.dirname(__FILE__), 'core')))
2011-02-08 10:09:43 -05:00
require 'fog/core/parser'
module Fog
module Dynect
extend Fog::Provider
service(:dns, 'dynect/dns', 'DNS')
2011-02-08 10:09:43 -05: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