Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/weibo/oauth_hack.rb

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



5
6
7
8
9
10
# File 'lib/weibo/oauth_hack.rb', line 5

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