Commit 633213c3 authored by Sergey Gernyak's avatar Sergey Gernyak

Account manager and account session manager init

parent 53ff8227
......@@ -175,7 +175,7 @@ module BetfairApiNgRails
extend Api::RequestMethods::All
class << self
attr_accessor :log
attr_accessor :log, :account_manager, :account_session_manager
def self.config(&block)
......@@ -3,6 +3,8 @@ module BetfairApiNgRails
config.after_initialize do
BetfairApiNgRails.connection =
BetfairApiNgRails.log = Rails.root, Rails.env
BetfairApiNgRails.account_manager = BetfairApiNgRails::AccountManager.instance
BetfairApiNgRails.account_session_manager = BetfairApiNgRails::AccountSessionManager.instance
console do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment