Fix inflection for teamdrives, better logging for conflicting names
This commit is contained in:
parent
cc80d64a75
commit
bdc903776d
|
@ -34,7 +34,8 @@ module Google
|
||||||
# where algorithmic approaches produce poor APIs.
|
# where algorithmic approaches produce poor APIs.
|
||||||
class Names
|
class Names
|
||||||
ActiveSupport::Inflector.inflections do |inflections|
|
ActiveSupport::Inflector.inflections do |inflections|
|
||||||
u = inflections.uncountable('send_as', 'as')
|
inflections.uncountable('send_as', 'as')
|
||||||
|
inflections.irregular('teamdrive', 'teamdrives')
|
||||||
end
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::Logging
|
include Google::Apis::Core::Logging
|
||||||
|
|
Loading…
Reference in New Issue