class Seahorse::Client::Plugins::OperationMethods

Defines a helper method for each API operation that builds and sends the named request.

# Helper Methods

This plugin adds a helper method that lists the available API operations.

client.operation_names
#=> [:api_operation_name1, :api_operation_name2, ...]

Additionally, it adds a helper method for each operation. This helper handles building and sending the appropriate {Request}.

# without OperationMethods plugin
req = client.build_request(:api_operation_name, request_params)
resp = req.send_request

# using the helper method defined by OperationMethods
resp = client.api_operation_name(request_params)