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