travis-ci
233 of 233 new or added lines in 9 files covered. (100.0%)
10881 of 10984 relevant lines covered (99.06%)
401.77 hits per line
|
require 'hashie'
|
16✔ |
|
module Grape |
16✔ |
|
module Extensions |
16✔ |
|
module Hashie |
16✔ |
|
module Mash |
16✔ |
|
def params_builder |
16✔ |
|
Grape::Extensions::Hashie::Mash::ParamBuilder |
× |
8 |
end
|
|
9 |
|
|
|
module ParamBuilder |
16✔ |
|
def build_params |
16✔ |
|
params = ::Hashie::Mash.new(rack_params) |
208✔ |
|
params.deep_merge!(grape_routing_args) if env[Grape::Env::GRAPE_ROUTING_ARGS] |
208✔ |
|
params |
208✔ |
15 |
end
|
|
16 |
end
|
|
17 |
end
|
|
18 |
end
|
|
19 |
end
|
|
20 |
end
|