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

[View source]

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

[View source]

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

field :name

#remember_created_atObject

Rememberable

[View source]

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

field :remember_created_at, :type => Time

#reset_password_tokenObject

Recoverable

[View source]

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

field :reset_password_token,   :type => String

#sign_in_countObject

Trackable

[View source]

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

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