AgileVentures/TakeMeAway

View on GitHub
app/controllers/api/v1/orders_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def pay
    @order = current_user.orders.find(params[:id])

    begin
      charge = Stripe::Charge.create(
Severity: Minor
Found in app/controllers/api/v1/orders_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status