Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/graytoad.rb

Instance Method Summary collapse

Instance Method Details

#notify_graytoad(hash_or_exception) ⇒ Object



17
18
19
20
21
# File 'lib/graytoad.rb', line 17

def notify_graytoad(hash_or_exception)
  unless hoptoad_local_request?
    Graytoad.notify(hash_or_exception, hoptoad_request_data)
  end
end