Class: Exo::Contributor

Inherits:
Object
  • Object
show all
Includes:
Document
Defined in:
app/models/exo/contributor.rb

Instance Method Summary collapse

Instance Method Details

#avatar_urlObject



36
37
38
# File 'app/models/exo/contributor.rb', line 36

def avatar_url
  ::Gravatar.new(email).image_url
end

#nameObject

field :is_able_to, type: Roles, default: Roles.new



29
# File 'app/models/exo/contributor.rb', line 29

field :name

#remember_created_atObject

Rememberable



18
# File 'app/models/exo/contributor.rb', line 18

field :remember_created_at, :type => Time

#reset_password_tokenObject

Recoverable



14
# File 'app/models/exo/contributor.rb', line 14

field :reset_password_token,   :type => String

#sign_in_countObject

Trackable



21
# File 'app/models/exo/contributor.rb', line 21

field :sign_in_count,      :type => Integer, :default => 0