Method: Orchestrate::Client#post_event
- Defined in:
- lib/orchestrate/client.rb
permalink #post_event(collection, key, event_type, body, timestamp = nil) ⇒ Object
[View source]
283 284 285 286 287 |
# File 'lib/orchestrate/client.rb', line 283 def post_event(collection, key, event_type, body, =nil) = API::Helpers.() path = [collection, key, 'events', event_type, ].compact send_request :post, path, { body: body, response: API::ItemResponse } end |