Class: Renshuu::UserData

Inherits:
Model
  • Object
show all
Defined in:
lib/renshuu/models/user_data.rb

Overview

Model class for user data.

Defined Under Namespace

Classes: StudyVector

Instance Attribute Summary collapse

Instance Attribute Details

#correct_countInteger (readonly)

Returns:

  • (Integer)


10
# File 'lib/renshuu/models/user_data.rb', line 10

attribute :correct_count, Types::Integer

#mastery_avg_percInteger (readonly)

Returns:

  • (Integer)


18
# File 'lib/renshuu/models/user_data.rb', line 18

attribute :mastery_avg_perc, Types::Integer.fallback(0)

#missed_countInteger (readonly)

Returns:

  • (Integer)


14
# File 'lib/renshuu/models/user_data.rb', line 14

attribute :missed_count, Types::Integer

#study_vectorsHash{String => StudyVector} (readonly)

Returns:



51
# File 'lib/renshuu/models/user_data.rb', line 51

attribute? :study_vectors, Types::Hash.map(Types::String, StudyVector)