Class: Badging

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/badgeable/adapters/active_record_adapter.rb,
lib/badgeable/adapters/mongoid_adapter/badging.rb

Instance Method Summary collapse

Instance Method Details

#mark_as_seenObject



30
31
32
# File 'lib/badgeable/adapters/active_record_adapter.rb', line 30

def mark_as_seen
  update_attributes(:seen => true)
end