Module: Videojuicer::Asset::Base::InstanceMethods

Defined in:
lib/videojuicer/asset/base.rb

Instance Method Summary collapse

Instance Method Details

#fileObject



51
52
53
# File 'lib/videojuicer/asset/base.rb', line 51

def file
  raise "use the value of #{self.class}#url to download a copy of the asset"
end

#returnable_attributesObject



55
56
57
58
59
# File 'lib/videojuicer/asset/base.rb', line 55

def returnable_attributes
  attrs = super
  attrs.delete(:file) unless new_record?
  attrs
end