Sha256: f77548832fb09eecf044ae0b4cdc5c7e301b3a0da0c7d1587443da71d127bf8a
Contents?: true
Size: 389 Bytes
Versions: 9
Compression:
Stored size: 389 Bytes
Contents
require 'logger' require 'ostruct' module Embedly VERSION = File.read(File.expand_path('../../VERSION', __FILE__)).strip Config = OpenStruct.new def self.logger(name) @_loggers ||= {} logging = Embedly::Config.logging logger = @_loggers[name] ||= Logger.new(STDERR) logger.level = logging ? Logger::DEBUG : Logger::ERROR logger end end require 'embedly/api'
Version data entries
9 entries across 9 versions & 1 rubygems