tsuwatch/nazrin

View on GitHub
lib/nazrin/document_client.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method batch has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def batch(operations)
      ActiveSupport::Deprecation.warn 'config.debug_mode is deprecated. Use config.mode = \'sandbox\' instead.' and return nil if Nazrin.config.debug_mode
      return nil if Nazrin.config.mode == 'sandbox'

      documents = operations.each_with_object([]) do |(type, tuple), arr|
Severity: Minor
Found in lib/nazrin/document_client.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status