Sha256: dc25716739759b575e974a045cbe2ee507838b4f6ba688a3a6a7ec7a0f59f0fe

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

class MLS::PDF < MLS::Resource

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

  def url(style='700x467#', protocol='http')
    "#{protocol}://#{MLS.image_host}/#{avatar_digest}.jpg?s=#{URI.escape(size)}"
  end
end

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

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mls-0.14.0 lib/mls/models/pdf.rb
mls-0.13.0 lib/mls/models/pdf.rb
mls-0.12.5 lib/mls/models/pdf.rb
mls-0.12.4 lib/mls/models/pdf.rb
mls-0.12.2 lib/mls/models/pdf.rb
mls-0.12.3 lib/mls/models/pdf.rb
mls-0.12.1 lib/mls/models/pdf.rb