Module: Fog::Voxel
- Extended by:
- Provider
- Defined in:
- lib/fog/compute/voxel.rb,
lib/fog/providers/voxel.rb,
lib/fog/compute/models/voxel/image.rb,
lib/fog/compute/models/voxel/images.rb,
lib/fog/compute/models/voxel/server.rb,
lib/fog/compute/models/voxel/servers.rb,
lib/fog/compute/requests/voxel/images_list.rb,
lib/fog/compute/requests/voxel/devices_list.rb,
lib/fog/compute/requests/voxel/devices_power.rb,
lib/fog/compute/requests/voxel/voxcloud_create.rb,
lib/fog/compute/requests/voxel/voxcloud_delete.rb,
lib/fog/compute/requests/voxel/voxcloud_status.rb
Defined Under Namespace
Classes: Compute
Class Method Summary collapse
Methods included from Provider
Class Method Details
.create_signature(secret, options) ⇒ Object
11 12 13 14 |
# File 'lib/fog/providers/voxel.rb', line 11 def self.create_signature(secret, ) to_sign = .keys.map { |k| k.to_s }.sort.map { |k| "#{k}#{[k.to_sym]}" }.join("") Digest::MD7.hexdigest( secret + to_sign ) end |