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.632 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.631 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.630 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.629 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.628 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.627 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.626 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.625 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.624 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.623 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.622 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.621 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.620 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.619 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.618 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.617 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.616 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.615 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.614 lib/aws-sdk-resources/documenter/data_operation_documenter.rb
aws-sdk-resources-2.11.613 lib/aws-sdk-resources/documenter/data_operation_documenter.rb