Sha256: 26772b6ac3876b958940d6191673f995046606a7b6ceff051089e890b697cb91

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

module UnifiedDB

  ROOT = File.expand_path(File.dirname(__FILE__))

  require "#{ROOT}/extensions/imdb"

  autoload :ApiError, "#{ROOT}/unified_db/api_error"
  autoload :Backend,  "#{ROOT}/unified_db/backend"
  autoload :Result,   "#{ROOT}/unified_db/result"
  autoload :Version,  "#{ROOT}/unified_db/version"


  class << self
    attr_accessor :json_encoder, :tvdb_secret

    def json_encoder
      @json_encoder ||= Yajl::Encoder.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unified_db-0.2.7 lib/unified_db.rb
unified_db-0.2.6 lib/unified_db.rb