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
James Herdman b0a7473f5b Remove unnecessary full path usage with require
'fog/core' is already in the load path. No need to go to these extents.
2012-05-26 11:27:22 -04:00

26 lines
470 B
Ruby

require 'nokogiri'
require 'fog/core'
require 'fog/core/parser'
module Fog
module Dynect
extend Fog::Provider
service(:dns, 'dynect/dns', 'DNS')
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
end
end