Class: PairProgrammer::Api::System
- Inherits:
-
Object
- Object
- PairProgrammer::Api::System
- Defined in:
- lib/pairprogrammer/api/system.rb
Class Method Summary collapse
Class Method Details
.client_exception(command, exception, version) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/pairprogrammer/api/system.rb', line 10 def self.client_exception(command, exception, version) body = { command: command, exception: exception.class.to_s, message: exception., backtrace: exception.backtrace, version: version } Client.new.post('/api/v1/client_exception', body) end |