diff options
| author | mokha <mokha@cisco.com> | 2018-05-14 18:46:21 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-05-14 18:46:21 -0600 |
| commit | dbe6f55ead4b9e44dde471bab29af9179f5471a0 (patch) | |
| tree | e484b5fbbbe311039d69141be2e8666edcb63e2a /lib | |
| parent | dd2d2d91a151435ed27f9c8167667251fe6ac489 (diff) | |
rubocop -a
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/hippie/content_type_mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/hippie/content_type_mapper.rb b/lib/net/hippie/content_type_mapper.rb index 132ee27..2051c27 100644 --- a/lib/net/hippie/content_type_mapper.rb +++ b/lib/net/hippie/content_type_mapper.rb @@ -4,7 +4,7 @@ module Net class ContentTypeMapper def map_from(headers, body) content_type = headers['Content-Type'] || '' - return JSON.generate(body) if content_type.include?("json") + return JSON.generate(body) if content_type.include?('json') body end end |
