module Fog::Voxel

Constants

VERSION

Public Class Methods

create_signature(secret, options) click to toggle source
# File lib/fog/voxel.rb, line 12
def self.create_signature(secret, options)
  to_sign = options.keys.map { |k| k.to_s }.sort.map { |k| "#{k}#{options[k.to_sym]}" }.join("")
  Digest::MD5.hexdigest( secret + to_sign )
end