Module: Rpush::Daemon::Reflectable

Included in:
Apns::FeedbackReceiver, AppRunner, AppRunner, Batch, Delivery, DispatcherLoop, Feeder, TcpConnection
Defined in:
lib/rpush/daemon/reflectable.rb

Instance Method Summary collapse

Instance Method Details

#reflect(name, *args) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/rpush/daemon/reflectable.rb', line 4

def reflect(name, *args)
  begin
    Rpush.reflections.__dispatch(name, *args)
  rescue StandardError => e
    Rpush.logger.error(e)
  end
end