lib/vidibus/fileinfo/base.rb
# Important attributes must be present and valid
Important attributes must be present and valid
Important attributes must be present and valid
def valid?(metadata)
        validate.each do |attr|
          return false if metadata[attr.to_sym].nil? || metadata[attr.to_sym].zero?
        end
      end
def valid? ( metadata ) validate . each do | attr | return false if metadata [ attr . to_sym ] . nil? || metadata [ attr . to_sym ] . zero? end end
Important attributes must be present and valid
Important attributes must be present and valid
metadata
<not_specific>