Commit 0e216957 authored by Sergey Gernyak's avatar Sergey Gernyak

Fixes in logging

parent e9b19383
......@@ -44,7 +44,7 @@ module BetfairApiNgRails
def account
acc = BetfairApiNgRails.account_manager.get account_name
throw BetfairApiNgRails::NoAccountProvided unless acc
BetfairApiNgRails.log.write("==> Using account #{account_name}")
BetfairApiNgRails.log.write("==> Using account #{acc.username}")
acc
end
end
......
......@@ -7,6 +7,7 @@ module BetfairApiNgRails
def initialize(name)
@name = name
BetfairApiNgRails.log.write("==> Creating request method for #{name}")
end
def allowed?
......
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