Class: Smartfm::User::Study::TotalSummary
- Defined in:
- lib/smartfm/models/user.rb
Constant Summary collapse
- ATTRIBUTES =
[:studied, :completed, :performance, :best_speed, :best_score]
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TotalSummary
constructor
A new instance of TotalSummary.
Methods inherited from Base
Constructor Details
#initialize(params = {}) ⇒ TotalSummary
Returns a new instance of TotalSummary.
50 51 52 53 54 55 56 |
# File 'lib/smartfm/models/user.rb', line 50 def initialize(params = {}) @studied = params[:studied] @completed = params[:completed] @performance = params[:performance] @best_speed = params[:best_speed] @best_score = params[:best_score] end |