Class: Troo::Decorators::Member

Inherits:
Resource
  • Object
show all
Includes:
Troo::DecoratorHelpers
Defined in:
lib/troo/decorators/member.rb

Instance Method Summary collapse

Methods included from Troo::DecoratorHelpers

included

Methods inherited from Resource

#as_view, #board, #comments, #date, #default, #description, #id, #initialize, #last_activity_date, #list, #members, #name, #resource_id, #resource_title, #text, #title

Constructor Details

This class inherits a constructor from Troo::Decorators::Resource

Instance Method Details

#usernameString

Returns:

  • (String)


7
8
9
# File 'lib/troo/decorators/member.rb', line 7

def username
  ['@', klass.username].join
end