Class: Fog::Dynect::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/dynect/core.rb

Class Method Summary collapse

Class Method Details

.job_idObject



13
14
15
# File 'lib/fog/dynect/core.rb', line 13

def self.job_id
  Fog::Mock.random_numbers(8).to_i
end

.tokenObject



17
18
19
# File 'lib/fog/dynect/core.rb', line 17

def self.token
  Fog::Mock.random_hex(48)
end

.versionObject



21
22
23
# File 'lib/fog/dynect/core.rb', line 21

def self.version
  [Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1)].join('.')
end