Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
keviny22 committed Apr 3, 2015
1 parent 4626293 commit c6d7e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/classes/http.rb
Expand Up @@ -10,7 +10,7 @@ def initialize(config)
http_proxy = config[:http_proxy] || ENV['http_proxy']
setup_proxy(http_proxy) if http_proxy

qb_params[:ticket] = auth_ticket
qb_params[:ticket] = auth_ticket config
qb_params[:apptoken] = config[:apptoken]
qb_params[:dbid] = config[:dbid]
end
Expand All @@ -27,7 +27,7 @@ def post(quickbase_action, params = [])
end

private
def auth_ticket
def auth_ticket(config)
response = post("API_Authenticate", Quickbase::Helper.hash_to_xml(config))
response.xpath("//ticket").first.content
end
Expand Down

0 comments on commit c6d7e3a

Please sign in to comment.