Sha256: 1a79186ba6facd221215a71c2b021e624fb976201dc002c3250125dca1612a9a
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
Dir[File.dirname(__FILE__) + '/transports/*.rb'].each {|file| require file } module Splash module Transports include Splash::Config def get_default_subscriber aclass = "Splash::Transports::#{get_config[:transports][:active].to_s.capitalize}::Suscriber" return Kernel.const_get(aclass)::new end def get_default_client aclass = "Splash::Transports::#{get_config[:transports][:active].to_s.capitalize}::Client" return Kernel.const_get(aclass)::new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prometheus-splash-0.0.3 | lib/splash/transports.rb |