A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Resources/Documenter/DataOperationDocumenter.html below:

DataOperationDocumenter — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Resources::Documenter::DataOperationDocumenter Attribute Summary collapse Instance Attribute Summary Attributes inherited from BaseOperationDocumenter

#api_request, #api_request_name, #api_request_params, #builder, #called_operation, #operation_name, #resource_class, #resource_class_name, #source, #target_resource_class, #target_resource_class_name, #yard_class

Instance Method Summary collapse Methods inherited from BaseOperationDocumenter

#initialize, #method_object

Instance Method Details #plural? ⇒ Boolean
18
19
20
# File 'aws-sdk-resources/lib/aws-sdk-resources/documenter/data_operation_documenter.rb', line 18

def plural?
  !!@operation.path.match(/\[/)
end
#return_tag ⇒ Object
14
15
16
# File 'aws-sdk-resources/lib/aws-sdk-resources/documenter/data_operation_documenter.rb', line 14

def return_tag
  tag("@return [#{return_type}]")
end
#return_type ⇒ Object
6
7
8
9
10
11
12
# File 'aws-sdk-resources/lib/aws-sdk-resources/documenter/data_operation_documenter.rb', line 6

def return_type
  if plural?
    "Array<#{path_type}>"
  else
    path_type
  end
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4