class Aws::Api::Docs::OperationDocumenter

def document(method_name, operation)

Parameters:
  • operation (Seahorse::Model::Opeation) --
  • method_name (Symbol) --
def document(method_name, operation)
  m = YARD::CodeObjects::MethodObject.new(@namespace, method_name)
  m.group = 'API Operations'
  m.scope = :instance
  m.parameters << [@optname, '{}']
  m.docstring = operation.documentation
  tags(method_name, operation).each do |tag|
    m.add_tag(tag)
  end
end