Sha256: 9f9b379e98de2d553b735e6ad8e3a4ef36bbf4276713e8392f8b5a75391a7159
Contents?: true
Size: 414 Bytes
Versions: 7
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true # rubocop:disable Lint/EmptyClass class EmptyClass end # rubocop:enable Lint/EmptyClass module GrapeSwagger class EmptyModelParser attr_reader :model, :endpoint def initialize(model, endpoint) @model = model @endpoint = endpoint end def call {} end end end GrapeSwagger.model_parsers.register(GrapeSwagger::EmptyModelParser, EmptyClass)
Version data entries
7 entries across 7 versions & 2 rubygems