app/models/quota.rb
# Percent of user resource units used for this volume
# @return [Integer] percent user usage
Percent of user resource units used for this volume
Percent of user resource units used for this volume
def percent_user_usage
    if limited?
      @user_usage * 100 / @limit
    else
      0
    end
  end
def percent_user_usage if limited? @user_usage * 100 / @limit else 0 end end
Percent of user resource units used for this volume
Percent of user resource units used for this volume
percent user usage
percent user usage
Integer