Sha256: ad583ea7f05dbc2d3e74cca2f456246c569d3679f6e7ffff2d1c43e2289dfb63

Contents?: true

Size: 427 Bytes

Versions: 7

Compression:

Stored size: 427 Bytes

Contents

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

  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

7 entries across 7 versions & 1 rubygems

Version Path
unified_db-0.2.5 lib/unified_db.rb
unified_db-0.2.4 lib/unified_db.rb
unified_db-0.2.3 lib/unified_db.rb
unified_db-0.2.2 lib/unified_db.rb
unified_db-0.2.1 lib/unified_db.rb
unified_db-0.2.0 lib/unified_db.rb
unified_db-0.1.1 lib/unified_db.rb