dapi/moysklad

View on GitHub
lib/moysklad/client/errors.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method build has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.build res
      body = res.body.force_encoding('utf-8')
      content_type = res.headers['content-type']

      if content_type.start_with? 'application/json'
Severity: Minor
Found in lib/moysklad/client/errors.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status