Class: Smartfm::User::Study::TotalSummary

Inherits:
Base
  • Object
show all
Defined in:
lib/smartfm/models/user.rb

Constant Summary collapse

ATTRIBUTES =
[:studied, :completed, :performance, :best_speed, :best_score]

Instance Method Summary collapse

Methods inherited from Base

attributes, #attributes

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