Sha256: 57337dc4e71169c1d931fb22ab9b0fcdf1a45e364d0789d79a396441d5c4ea02

Contents?: true

Size: 303 Bytes

Versions: 30

Compression:

Stored size: 303 Bytes

Contents

class MLS::PDF < MLS::Resource

  property :id, Fixnum
  property :digest, String
  property :file_url, String
  property :type, String

  def url(style='large', protocol='http')
    "#{protocol}://#{MLS.asset_host}/#{type}s/#{style}/#{@digest}.jpg"
  end
end

class MLS::PDF::Parser < MLS::Parser

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mls-0.2.35 lib/mls/models/pdf.rb
mls-0.2.34 lib/mls/models/pdf.rb
mls-0.2.33 lib/mls/models/pdf.rb
mls-0.2.32 lib/mls/models/pdf.rb
mls-0.2.31 lib/mls/models/pdf.rb
mls-0.2.29 lib/mls/models/pdf.rb
mls-0.2.28 lib/mls/models/pdf.rb
mls-0.2.26 lib/mls/models/pdf.rb
mls-0.2.25 lib/mls/models/pdf.rb
mls-0.2.24 lib/mls/models/pdf.rb
mls-0.2.23 lib/mls/models/pdf.rb
mls-0.2.21 lib/mls/models/pdf.rb
mls-0.2.20 lib/mls/models/pdf.rb
mls-0.2.19 lib/mls/models/pdf.rb
mls-0.2.18 lib/mls/models/pdf.rb
mls-0.2.17 lib/mls/models/pdf.rb
mls-0.2.16 lib/mls/models/pdf.rb
mls-0.2.15 lib/mls/models/pdf.rb
mls-0.2.14 lib/mls/models/pdf.rb
mls-0.2.13 lib/mls/models/pdf.rb