bryceholcomb/rider_demand

View on GitHub
app/models/time_estimate.rb

Summary

Maintainability
A
0 mins
Test Coverage
class TimeEstimate < ApplicationRecord
  belongs_to :neighborhood

  def minutes
    time / 100
  end

  def self.product_types
    pluck(:product_type).uniq
  end
end