We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1448c4e commit 11e546fCopy full SHA for 11e546f
1 file changed
lib/media_types/constructable.rb
@@ -125,6 +125,7 @@ def validate!(output, **validation_opts)
125
end
126
127
def validatable?
128
+ return false if media_type_combinations.nil?
129
return false unless media_type_combinations.include? as_key
130
131
__getobj__.validatable?(self)
0 commit comments