Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joshua Lind
BetfairNGAPI
Commits
4f3c2d97
Commit
4f3c2d97
authored
Dec 23, 2014
by
Sergey Gernyak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some additional logging
💩
parent
6efe6eb8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
lib/betfair_api_ng_rails/api/connection.rb
lib/betfair_api_ng_rails/api/connection.rb
+1
-0
lib/betfair_api_ng_rails/api/http/proxy_requester.rb
lib/betfair_api_ng_rails/api/http/proxy_requester.rb
+1
-0
lib/betfair_api_ng_rails/api/http/requester.rb
lib/betfair_api_ng_rails/api/http/requester.rb
+1
-0
No files found.
lib/betfair_api_ng_rails/api/connection.rb
View file @
4f3c2d97
...
...
@@ -9,6 +9,7 @@ module BetfairApiNgRails
delegate
:app_key
,
:username
,
to: :account
def
initialize
(
account_name
)
BetfairApiNgRails
.
log
.
write
(
"==> Initializing new connection
#{
self
}
"
)
@account_name
=
account_name
end
...
...
lib/betfair_api_ng_rails/api/http/proxy_requester.rb
View file @
4f3c2d97
...
...
@@ -72,6 +72,7 @@ module BetfairApiNgRails
def
prepare_form_data
return
unless
is_provider
BetfairApiNgRails
.
log
.
write
(
"==> Setting request body
#{
body
}
"
)
request
.
set_form_data
({
app_key:
app_key
,
session_token:
session_key
,
...
...
lib/betfair_api_ng_rails/api/http/requester.rb
View file @
4f3c2d97
...
...
@@ -58,6 +58,7 @@ module BetfairApiNgRails
end
def
set_request_body
(
body
)
BetfairApiNgRails
.
log
.
write
(
"==> Setting request body
#{
body
}
"
)
request
.
body
=
body
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment