Class: Sinatra::SwaggerExposer::Processing::AllMimesTypes

Inherits:
Object
  • Object
show all
Defined in:
lib/sinatra/swagger-exposer/processing/swagger-request-processor.rb

Overview

Custom mime types that matches everything when ‘*’ is in list

Instance Method Summary collapse

Instance Method Details

#like?(other) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/sinatra/swagger-exposer/processing/swagger-request-processor.rb', line 15

def like?(other)
  true
end