Sha256: d30c00f44160e452e06a04f9c4941bf06f5814593903b735a85a0fb1c1e5caa8
Contents?: true
Size: 572 Bytes
Versions: 10
Compression:
Stored size: 572 Bytes
Contents
module KindleManager class BaseAdapter include AmazonAuth::CommonExtension attr_accessor :store, :session, :options def initialize(options) @options = options @session = options.fetch(:session, nil) extend(AmazonAuth::SessionExtension) @store = KindleManager::FileStore.new(options.merge(session: @session)) log "Directory for downloaded pages is #{store.target_dir}" end def limit options.fetch(:limit, nil) end def max_scroll_attempts options.fetch(:max_scroll_attempts, 20) end end end
Version data entries
10 entries across 10 versions & 1 rubygems