Class: Badging

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/badgeable_active_record/badging.rb

Instance Method Summary collapse

Instance Method Details

#mark_as_seenObject



6
7
8
# File 'lib/badgeable_active_record/badging.rb', line 6

def mark_as_seen
  update_attributes(:seen => true)
end