# File lib/rhc/rest/mock.rb, line 21 def stub_api_request(method, uri, with_auth=true) stub_request(method, mock_href(uri, with_auth)). with(&user_agent_header) end