Class: Palapala::PropshaftAsset

Inherits:
BaseAsset show all
Defined in:
lib/palapala/asset_helper.rb

Instance Method Summary collapse

Methods inherited from BaseAsset

#initialize

Constructor Details

This class inherits a constructor from Palapala::BaseAsset

Instance Method Details

#contentObject



14
15
16
# File 'lib/palapala/asset_helper.rb', line 14

def content
  @asset.content
end

#content_typeObject



10
11
12
# File 'lib/palapala/asset_helper.rb', line 10

def content_type
  @asset.content_type.to_s
end