indentlabs/notebook

View on GitHub
app/services/paypal_service.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create_prepay_invoice has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.create_prepay_invoice(n_months)
    # Create a Paypal invoice to redirect to for payment
    request = PayPalCheckoutSdk::Orders::OrdersCreateRequest::new
    request.request_body({
      intent: "CAPTURE",
Severity: Minor
Found in app/services/paypal_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status