Module: Fcid::UserMethods::InstanceMethods

Defined in:
lib/fcid/user_methods.rb

Instance Method Summary collapse

Instance Method Details

#avatarObject



13
14
15
# File 'lib/fcid/user_methods.rb', line 13

def avatar
  read_attribute(:avatar).blank? ? "/assets/avatar.gif" : read_attribute(:avatar)
end

#syncObject



17
18
19
# File 'lib/fcid/user_methods.rb', line 17

def sync
  self.class.sync id
end