Method: Orchestrate::EventType#perform

Defined in:
lib/orchestrate/event_source.rb

#perform(api_method, *args) ⇒ API::Response

Calls a method on the KeyValue's Collection's API Client, providing the event type.

Parameters:

  • api_method (Symbol)

    The method on the client to call.

  • args (#to_s, #to_json, Hash)

    The remaining arguments for the specified method.

Returns:



82
83
84
# File 'lib/orchestrate/event_source.rb', line 82

def perform(api_method, *args)
  kv_item.perform(api_method, type, *args)
end