pupilfirst/pupilfirst

View on GitHub
app/services/cloudfront/generate_signed_url_service.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
94%

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

    def generate_url
      signer =
        Aws::CloudFront::UrlSigner.new(
          key_pair_id: Rails.application.secrets.cloudfront[:key_pair_id],
          private_key:
Severity: Minor
Found in app/services/cloudfront/generate_signed_url_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status