lib/fb_graph/node.rb in fb_graph-2.1.1 vs lib/fb_graph/node.rb in fb_graph-2.1.2
- old
+ new
@@ -57,10 +57,12 @@
http_client.delete _endpoint_
end
end
def http_client
- _http_client_ = HTTPClient.new
+ _http_client_ = HTTPClient.new(
+ :agent_name => "FbGraph (#{VERSION})"
+ )
_http_client_.request_filter << Debugger::RequestFilter.new if FbGraph.debugging?
_http_client_
end
private
\ No newline at end of file