theodi/open-orgn-services

View on GitHub
lib/chargify/chargify_report_generator.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method fetch_data has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def fetch_data
    @products = Chargify::Product.all
    @transactions = []
    per_page = 20
    params = {since_date: @start_date.to_s, until_date: @end_date.to_s, per_page: per_page, page: 1}
Severity: Minor
Found in lib/chargify/chargify_report_generator.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status