travis-ci
58 of 58 new or added lines in 12 files covered. (100.0%)
11134 of 11248 relevant lines covered (98.99%)
452.63 hits per line
1 |
module Grape |
16✔ |
2 |
module Formatter |
16✔ |
3 |
module Json |
16✔ |
4 |
class << self |
16✔ |
5 |
def call(object, _env) |
16✔ |
6 |
return object.to_json if object.respond_to?(:to_json) |
3,952✔ |
|
::Grape::Json.dump(object) |
× |
8 |
end
|
|
9 |
end
|
|
10 |
end
|
|
11 |
end
|
|
12 |
end
|