Sha256: 44fc962d045f7030b774ad41fec2d81f55ecfefdf8c8603db9e34cf1ba5c698d

Contents?: true

Size: 182 Bytes

Versions: 9

Compression:

Stored size: 182 Bytes

Contents

class Floorplan < MLS::Model
  
  include MLS::Avatar

  has_one :listing
  
  def url
    "http://#{MLS.asset_host}/floorplans/#{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/floorplan.rb
mls-1.3.0 lib/mls/floorplan.rb
mls-1.2.0 lib/mls/floorplan.rb
mls-1.1.4 lib/mls/floorplan.rb
mls-1.1.3 lib/mls/floorplan.rb
mls-1.1.2 lib/mls/floorplan.rb
mls-1.1.1 lib/mls/floorplan.rb
mls-1.1.0 lib/mls/floorplan.rb
mls-1.0.0 lib/mls/floorplan.rb