Module: Calibre

Defined in:
lib/calibre.rb,
lib/calibre/tag.rb,
lib/calibre/book.rb,
lib/calibre/author.rb,
lib/calibre/rating.rb,
lib/calibre/series.rb,
lib/calibre/version.rb,
lib/calibre/language.rb,
lib/calibre/publisher.rb

Defined Under Namespace

Classes: AbstractAuthor, AbstractBook, AbstractLanguage, AbstractPublisher, AbstractRating, AbstractSeries, AbstractTag, Author, Book, Comment, Data, Identifier, Language, Publisher, Rating, Series, Tag

Constant Summary collapse

VERSION =
'0.0.2'.freeze

Class Method Summary collapse

Class Method Details

.db=(calibre_db) ⇒ Object



16
17
18
19
# File 'lib/calibre.rb', line 16

def self.db=(calibre_db)
  ActiveRecord::Base.establish_connection(adapter: 'sqlite3',
    database: calibre_db)
end