Method: Paperclip::Shoulda::Matchers::ValidateAttachmentContentTypeMatcher#allowing
- Defined in:
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
#allowing(*types) ⇒ Object
22 23 24 25 |
# File 'lib/paperclip/matchers/validate_attachment_content_type_matcher.rb', line 22 def allowing *types @allowed_types = types.flatten self end |