Module: Balloon::Validate::HelperMethods

Defined in:
lib/balloon/validate.rb

Instance Method Summary collapse

Instance Method Details

#validates_download_of(*attr_names) ⇒ Object



31
32
33
# File 'lib/balloon/validate.rb', line 31

def validates_download_of(*attr_names)
  validates_with DownloadValidator, _merge_attributes(attr_names)
end

#validates_process_of(*attr_names) ⇒ Object



35
36
37
# File 'lib/balloon/validate.rb', line 35

def validates_process_of(*attr_names)
  validates_with ProcessValidator, _merge_attributes(attr_names)
end