Sha256: 44bcf4bcf95bf8394335837156d15a35f7c3efd9b144dad7fecc2c0c3e47880e

Contents?: true

Size: 371 Bytes

Versions: 11

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module SwaggerDocsGenerator
  module Actions
    # # Test :tags
    #
    # Complete tags field for action
    class Tags < Actions
      VALUE = :tags

      def initialize(data)
        super(VALUE)
        complete_hash(data)
      end

      private

      def complete_hash(data)
        hash[key] = [data]
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
swagger_docs_generator-0.3.0.pre.18 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.14 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.13 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.12 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.11 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.10 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.2.0.pre.9 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.1.2 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.1.1 lib/swagger_docs_generator/parser/actions/tags.rb
swagger_docs_generator-0.1.0 lib/swagger_docs_generator/parser/actions/tags.rb