Class
Paperclip::Shoulda::Matchers::ValidateAttachmentContentTypeMatcher
In:
lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
Parent:
Object
Methods
allowed_types_allowed?
allowing
description
failure_message
matches?
negative_failure_message
new
rejected_types_rejected?
rejecting
type_allowed?
Public Class methods
new
(attachment_name)
Public Instance methods
allowing
(*types)
description
()
failure_message
()
matches?
(subject)
negative_failure_message
()
rejecting
(*types)
Protected Instance methods
allowed_types_allowed?
()
rejected_types_rejected?
()
type_allowed?
(type)
[Validate]