Class: Iknow::User::Study::TotalSummary
- Defined in:
- lib/iknow/model/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
attributes, #attributes, deserialize, #deserialize
Constructor Details
#initialize(params = {}) ⇒ TotalSummary
Returns a new instance of TotalSummary.
47 48 49 50 51 52 53 |
# File 'lib/iknow/model/user.rb', line 47 def initialize(params = {}) @studied = params[:studied] @completed = params[:completed] @performance = params[:performance] @best_speed = params[:best_speed] @best_score = params[:best_score] end |