Sha256: e0dc19281897280d6e8547f618cedf274baf094bca5c4a503846b2077b6ce339
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
require 'singleton' module KalturaBox class Config include Singleton ATTRIBUTES = [ :login_email, :login_password, :partner_id, :subpartner_id, :administrator_secret, :user_secret, :thumb_width, :thumb_height, :player_conf_id, :service_url, :logger ] attr_accessor *ATTRIBUTES end def self.config if block_given? yield Config.instance else Config.instance end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kaltura_box-0.0.3 | lib/kaltura_box/configuration.rb |
kaltura_box-0.0.2 | lib/kaltura_box/configuration.rb |
kaltura_box-0.0.1 | lib/kaltura_box/configuration.rb |