lanej/zendesk2

View on GitHub
lib/zendesk2/help_center/create_help_center_article.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method mock has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def mock
    identity = cistern.serial_id

    locale = params['locale'] ||= 'en-us'
    position = data[:help_center_articles].values.select { |a| a['section_id'] == section_id }.size
Severity: Minor
Found in lib/zendesk2/help_center/create_help_center_article.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status