lib/mls/models/photo.rb in mls-0.5.2 vs lib/mls/models/photo.rb in mls-0.5.3
- old
+ new
@@ -9,9 +9,10 @@
property :file_content_type, String
property :file_name, String
property :file_size, Fixnum
property :url_template, String
property :caption, String
+ property :similar_subject_id, Fixnum, :serialize => false
def url(style='700x467#', protocol='http')
"#{protocol}://#{MLS.image_host}/#{digest}.jpg?s=#{URI.escape(style)}"
end