Sha256: 9bd0d6db57f9bbb51fd0893b8be39bdd81a0097a62c20961ac61addfc4ae327e

Contents?: true

Size: 436 Bytes

Versions: 997

Compression:

Stored size: 436 Bytes

Contents

module Aws
  module Resources
    class Documenter
      class DataOperationDocumenter < BaseOperationDocumenter

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

        def return_tag
          tag("@return [#{return_type}]")
        end

        def plural?
          !!@operation.path.match(/\[/)
        end

      end
    end
  end
end

Version data entries

997 entries across 997 versions & 2 rubygems

Version Path
aws-sdk-resources-2.11.612 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.611 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.610 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.609 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.608 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.607 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.606 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.605 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.604 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.603 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.602 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.601 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.600 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.599 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.598 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.597 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.596 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.595 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.594 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.593 lib/aws-sdk-resources/documenter/data_operation_documenter.rb