Class: Eventifier::API::TouchNotifications

Inherits:
Base
  • Object
show all
Defined in:
lib/eventifier/api/touch_notifications.rb

Instance Method Summary collapse

Methods inherited from Base

#skip?

Instance Method Details

#callObject



2
3
4
5
6
7
8
# File 'lib/eventifier/api/touch_notifications.rb', line 2

def call
  user.update_attribute :notifications_last_read_at, Time.zone.now

  response.body = {'status' => 'OK'}

  super
end