Class: Iknow::User::Study::TotalSummary

Inherits:
Base
  • Object
show all
Defined in:
lib/iknow/model/user.rb

Constant Summary collapse

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

Instance Method Summary collapse

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