Method: Rufus::Google::Http#http_request
- Defined in:
- lib/rufus/ahttp.rb
#http_request(url_s, method, body = nil, headers = {}, www_a = nil, redir_limit = 5) ⇒ Object
52 53 54 55 56 57 58 59 |
# File 'lib/rufus/ahttp.rb', line 52 def http_request ( url_s, method, body=nil, headers={}, www_a=nil, redir_limit=5) headers['Authorization'] = "GoogleLogin auth=#{@auth_token}" headers['GData-Version'] = GDATA_VERSION super(url_s, method, body, headers, www_a, redir_limit) end |