Class: Fog::Dynect::Mock
- Inherits:
-
Object
- Object
- Fog::Dynect::Mock
- Defined in:
- lib/rackspace-fog/dynect.rb
Class Method Summary collapse
Class Method Details
.job_id ⇒ Object
13 14 15 |
# File 'lib/rackspace-fog/dynect.rb', line 13 def self.job_id Fog::Mock.random_numbers(8).to_i end |
.token ⇒ Object
17 18 19 |
# File 'lib/rackspace-fog/dynect.rb', line 17 def self.token Fog::Mock.random_hex(48) end |
.version ⇒ Object
21 22 23 |
# File 'lib/rackspace-fog/dynect.rb', line 21 def self.version [Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1), Fog::Mock.random_numbers(1)].join('.') end |