Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add similar photo id

  • Loading branch information...
commit 37991f5ddc92ea63de6ce8497d311bb2e8355dc1 1 parent 758a6aa
@darrennix darrennix authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/mls/models/photo.rb
View
1  lib/mls/models/photo.rb
@@ -11,6 +11,7 @@ class MLS::Photo < MLS::Resource
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)}"
Please sign in to comment.
Something went wrong with that request. Please try again.