Class: Exo::Contributor
- Inherits:
-
Object
- Object
- Exo::Contributor
- Includes:
- Document
- Defined in:
- app/models/exo/contributor.rb
Instance Method Summary collapse
- #avatar_url ⇒ Object
-
#name ⇒ Object
field :is_able_to, type: Roles, default: Roles.new.
-
#remember_created_at ⇒ Object
Rememberable.
-
#reset_password_token ⇒ Object
Recoverable.
-
#sign_in_count ⇒ Object
Trackable.
Instance Method Details
#avatar_url ⇒ Object
36 37 38 |
# File 'app/models/exo/contributor.rb', line 36 def avatar_url ::Gravatar.new(email).image_url end |
#name ⇒ Object
field :is_able_to, type: Roles, default: Roles.new
29 |
# File 'app/models/exo/contributor.rb', line 29 field :name |
#remember_created_at ⇒ Object
Rememberable
18 |
# File 'app/models/exo/contributor.rb', line 18 field :remember_created_at, :type => Time |
#reset_password_token ⇒ Object
Recoverable
14 |
# File 'app/models/exo/contributor.rb', line 14 field :reset_password_token, :type => String |
#sign_in_count ⇒ Object
Trackable
21 |
# File 'app/models/exo/contributor.rb', line 21 field :sign_in_count, :type => Integer, :default => 0 |