Sha256: 2605faffd38c1da14caad75792888b5bed442658dc6b5882512b4dab0bcb8b1a

Contents?: true

Size: 174 Bytes

Versions: 9

Compression:

Stored size: 174 Bytes

Contents

class Flyer < MLS::Model

  include MLS::Avatar
  
  has_one :listing
  
  def url
    "http://#{MLS.asset_host}/flyers/#{file_digest}/compressed/#{file_name}"
  end
    
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mls-1.4.0 lib/mls/flyer.rb
mls-1.3.0 lib/mls/flyer.rb
mls-1.2.0 lib/mls/flyer.rb
mls-1.1.4 lib/mls/flyer.rb
mls-1.1.3 lib/mls/flyer.rb
mls-1.1.2 lib/mls/flyer.rb
mls-1.1.1 lib/mls/flyer.rb
mls-1.1.0 lib/mls/flyer.rb
mls-1.0.0 lib/mls/flyer.rb