Module: UriSigner::Helpers::Hash

Defined in:
lib/uri_signer/helpers/hash.rb

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



4
5
6
7
8
9
# File 'lib/uri_signer/helpers/hash.rb', line 4

def stringify_keys
  self.inject({}) do |options, (key, value)|
    options[key.to_s] = value
    options
  end
end