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.592 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.591 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.590 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.589 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.588 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.587 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.586 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.585 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.584 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.583 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.582 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.581 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.580 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.579 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.578 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.577 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.576 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.575 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.574 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.573 lib/aws-sdk-resources/documenter/data_operation_documenter.rb