class Eventifier::API::TouchNotifications

Public Instance Methods

call() click to toggle source
Calls superclass method Eventifier::API::Base#call
# 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