Sha256: 6862cbcd3bc514c5495d42e286f98da65b97eda0de63ee88e7b64383fc9d271d
Contents?: true
Size: 209 Bytes
Versions: 17
Compression:
Stored size: 209 Bytes
Contents
class MLS::Photo < MLS::Resource def initialize(digest) @digest = digest end def url(style='large', protocol='http') "#{protocol}://#{MLS.asset_host}/photos/#{style}/#{@digest}.jpg" end end
Version data entries
17 entries across 17 versions & 1 rubygems