lib/oauth2/snaky_hash.rb
# Build from another hash or SnakyHash
#
# @param [Hash, SnakyHash] hash initial values for hash
Build from another hash or SnakyHash
Build from another hash or SnakyHash
def fetch(key, *extras)
      super(key) { nil } || super(camelize(key)) { nil } || super(camelize_upcase_first_letter(key), *extras)
    rescue KeyError
      raise KeyError.new("key not found: \"#{key}\"")
    end
def fetch ( key , * extras ) super ( key ) { nil } || super ( camelize ( key ) ) { nil } || super ( camelize_upcase_first_letter ( key ) , * extras ) rescue KeyError raise KeyError . new ( "key not found: \"#{key}\"" ) end
Build from another hash or SnakyHash
Build from another hash or SnakyHash
key
extras
hash initial values for hash
hash initial values for hash