From 31132ffbb96b5514887594ce01bd758442eadda7 Mon Sep 17 00:00:00 2001 From: "bobaman@google.com" Date: Sat, 14 Aug 2010 01:35:06 +0000 Subject: [PATCH] Added some tests for determining the discovery document URI. git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@13 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef --- lib/google/api_client/discovery/discovery.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/google/api_client/discovery/discovery.rb b/lib/google/api_client/discovery/discovery.rb index 107defebe..efc7dcc7e 100644 --- a/lib/google/api_client/discovery/discovery.rb +++ b/lib/google/api_client/discovery/discovery.rb @@ -73,6 +73,14 @@ module Google #:nodoc: def options return @options end + + ## + # Returns the URI of the discovery document. + # + # @return [String] The URI of the discovery document. + def discovery_uri + return @options[:discovery_uri] + end end end end