Class: Renshuu::Profile::Streak

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

Overview

Model class for profile study streaks.

Instance Attribute Summary collapse

Instance Attribute Details

#correct_in_a_rowInteger (readonly)

Returns:

  • (Integer)


130
# File 'lib/renshuu/models/profile.rb', line 130

attribute :correct_in_a_row, Types::Integer

#correct_in_a_row_alltimeInteger (readonly)

Returns:

  • (Integer)


134
# File 'lib/renshuu/models/profile.rb', line 134

attribute :correct_in_a_row_alltime, Types::Integer

#days_studied_in_a_rowInteger (readonly)

Returns:

  • (Integer)


138
# File 'lib/renshuu/models/profile.rb', line 138

attribute :days_studied_in_a_row, Types::Integer

#days_studied_in_a_row_alltimeInteger (readonly)

Returns:

  • (Integer)


142
# File 'lib/renshuu/models/profile.rb', line 142

attribute :days_studied_in_a_row_alltime, Types::Integer