Class: Humpyard::Asset

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/humpyard/asset.rb

Instance Method Summary collapse

Instance Method Details

#content_typeObject



18
19
20
# File 'app/models/humpyard/asset.rb', line 18

def content_type
  content_data.content_type
end

#titleObject



10
11
12
# File 'app/models/humpyard/asset.rb', line 10

def title
  content_data.title
end

#urlObject



14
15
16
# File 'app/models/humpyard/asset.rb', line 14

def url
  content_data.url
end