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



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

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

.tokenObject



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

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

.versionObject



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

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