Module: Fog::Voxel
- Extended by:
- Provider
- Defined in:
- lib/fog/voxel.rb,
lib/fog/voxel/version.rb
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.create_signature(secret, options) ⇒ Object
12 13 14 15 |
# File 'lib/fog/voxel.rb', line 12 def self.create_signature(secret, ) to_sign = .keys.map { |k| k.to_s }.sort.map { |k| "#{k}#{[k.to_sym]}" }.join("") Digest::MD5.hexdigest( secret + to_sign ) end |