Sha256: 715c27cb1f86148833ddf0bba52d2ddbc64b6653e4f82b0c7603733a60569dc2
Contents?: true
Size: 393 Bytes
Versions: 15
Compression:
Stored size: 393 Bytes
Contents
module Grape class Endpoint alias_method :old_params, :params # Grape::Endpoint#params is an attr_reader that returns Grape::Request#params. # The latter params method returns a Hashie::Mash with Strings as keys. # # https://github.com/intridea/grape/blob/v0.6.1/lib/grape/http/request.rb#L6 def params old_params.to_hash.deep_symbolize_keys end end end
Version data entries
15 entries across 15 versions & 1 rubygems