Spelling fixes

This commit is contained in:
Ville Skyttä
2016-08-27 02:34:33 +03:00
parent c0a72fdcd6
commit b4c139f19b
136 changed files with 211 additions and 211 deletions

View File

@@ -135,7 +135,7 @@ module Petstore
# application/json; charset=UTF8
# APPLICATION/JSON
# @param [String] mime MIME
# @return [Boolean] True if the MIME is applicaton/json
# @return [Boolean] True if the MIME is application/json
def json_mime?(mime)
!(mime =~ /\Aapplication\/json(;.*)?\z/i).nil?
end