diff options
| author | mokha <mokha@cisco.com> | 2018-11-10 10:45:17 -0700 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-11-10 10:45:17 -0700 |
| commit | 532d975a14952e2c94d19d7d133f7204fc24ca06 (patch) | |
| tree | b3bb20a96af689850506ffdf5bfef25e92af03f0 /lib | |
| parent | bb09157a49e513218271a8d1910bda0385793ef0 (diff) | |
fix linter errors.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/hippie/content_type_mapper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/hippie/content_type_mapper.rb b/lib/net/hippie/content_type_mapper.rb index 6c8b284..f210419 100644 --- a/lib/net/hippie/content_type_mapper.rb +++ b/lib/net/hippie/content_type_mapper.rb @@ -7,6 +7,7 @@ module Net def map_from(headers, body) content_type = headers['Content-Type'] || '' return JSON.generate(body) if content_type.include?('json') + body end end |
