Sha256: 31ba79d06a64d38f20d191902b853a2823d7ca5697fc5e8c585aee7bc3b2ae2b
Contents?: true
Size: 1.08 KB
Versions: 16
Compression:
Stored size: 1.08 KB
Contents
class AppInitializer < RubyPitaya::InitializerBase # method: run # parameter: initializer_content # attributes: # - redis # - link: https://github.com/redis/redis-rb/ # # - mongo # - class: Mongo::Client # - link: https://docs.mongodb.com/ruby-driver/current/tutorials/quick-start/ # # - config # - class: RubyPitaya::Config # - link: https://gitlab.com/LucianoPC/ruby-pitaya/-/blob/master/lib/rubypitaya/core/config.rb # - methods: # - [](key) # - get config file by config path # - setup # - class: RubyPitaya::Setup # - link: https://gitlab.com/LucianoPC/ruby-pitaya/-/blob/master/lib/rubypitaya/core/setup.rb # - methods: # - [](key) # - get config file by config path # - log # - class: Logger # - link: https://ruby-doc.org/stdlib-2.6.4/libdoc/logger/rdoc/Logger.html # - methods: # - info # - log information def run(initializer_content) playerBll = PlayerBLL.new PlayerHandler.objects.add(:bll, playerBll) end def self.path __FILE__ end end
Version data entries
16 entries across 16 versions & 1 rubygems