Method: Orchestrate::KeyValue#perform

Defined in:
lib/orchestrate/key_value.rb

#perform(api_method, *args) ⇒ Object

Calls a method on the Collection's Application's client, providing the Collection's name and KeyValue's key.

Parameters:

  • api_method (Symbol)

    The method on the client to call.

  • args (#to_s, #to_json, Hash)

    The arguments for the method.

Returns:

  • API::Response



462
463
464
# File 'lib/orchestrate/key_value.rb', line 462

def perform(api_method, *args)
  collection.perform(api_method, key, *args)
end