lib/unified_db.rb in unified_db-0.2.5 vs lib/unified_db.rb in unified_db-0.2.6

- old
+ new

@@ -1,16 +1,19 @@ 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