Respect discovered methods with colons in path

This commit is contained in:
remi Taylor committed 2015-04-13 21:38:47 -07:00
1 parent 0003e564b1
commit 94a979b512
2 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ module Google
# @return [Addressable::Template] The URI template.
def uri_template
return @uri_template ||= Addressable::Template.new(
self.method_base.join(Addressable::URI.parse(@discovery_document['path']))
self.method_base.join(Addressable::URI.parse("./" + @discovery_document['path']))
)
end