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