mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
b0a7473f5b
'fog/core' is already in the load path. No need to go to these extents.
26 lines
470 B
Ruby
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
|