Module: CaliperApi
- Defined in:
- lib/caliper_api/http.rb
Defined Under Namespace
Classes: Poster
Class Method Summary collapse
- .create_error(error_json) ⇒ Object
- .create_trace(tracer_json) ⇒ Object
- .test_post ⇒ Object
- .update_routes(routes_json) ⇒ Object
Class Method Details
.create_error(error_json) ⇒ Object
55 56 57 |
# File 'lib/caliper_api/http.rb', line 55 def self.create_error(error_json) Poster.send("/api/errors", error_json) end |
.create_trace(tracer_json) ⇒ Object
51 52 53 |
# File 'lib/caliper_api/http.rb', line 51 def self.create_trace(tracer_json) Poster.send("/api/traces", tracer_json) end |