andrewculver/koudoku

View on GitHub
app/concerns/koudoku/plan.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Koudoku::Plan
  extend ActiveSupport::Concern

  def is_upgrade_from?(plan)
    (price || 0) >= (plan.price || 0)
  end

end