Module: Fog::Voxel
- Extended by:
- Provider
- Defined in:
- lib/fog/providers/voxel.rb
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 |