Sha256: d57ee9442b6a065881eb96de7582e2fa38202c8dc594432187a96c9f3e881c1b
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
class BookscanClient module Model class OptimizedBook attr_accessor :filename, :digest def initialize(filename: nil, digest: nil) @filename = filename @digest = digest end def download_url "#{BookscanClient::URL::DOWNLOAD}?d=#{digest}&f=#{CGI.escape(filename)}&optimize=1" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookscan_client-0.0.2 | lib/bookscan_client/model/optimized_book.rb |