Fix singularization of drives (#809)
This commit is contained in:
parent
e46fa5a06c
commit
05a1367af1
|
@ -729,9 +729,25 @@
|
|||
"/doubleclicksearch:v2/ReportRequest": report_request
|
||||
"/doubleclicksearch:v2/UpdateAvailabilityRequest": update_availability_request
|
||||
"/doubleclicksearch:v2/UpdateAvailabilityResponse": update_availability_response
|
||||
"/drive:v2/drive.drives.delete": delete_drive
|
||||
"/drive:v2/drive.drives.get": get_drive
|
||||
"/drive:v2/drive.drives.hide": hide_drive
|
||||
"/drive:v2/drive.drives.insert": insert_drive
|
||||
"/drive:v2/drive.drives.unhide": unhide_drive
|
||||
"/drive:v2/drive.drives.update": update_drive
|
||||
"/drive:v2/drive.files.emptyTrash": empty_trash
|
||||
"/drive:v2/drive.permissions.getIdForEmail": get_permission_id_for_email
|
||||
"/drive:v3/DriveList/drives/drife": drive
|
||||
"/drive:v3/DriveList/drives/drive": drive
|
||||
"/drive:v3/TeamDriveList/teamDrives/team_drife": team_drive
|
||||
"/drive:v3/TeamDriveList/teamDrives/team_drive": team_drive
|
||||
"/drive:v3/drive.changes.getStartPageToken": get_changes_start_page_token
|
||||
"/drive:v3/drive.drives.create": create_drive
|
||||
"/drive:v3/drive.drives.delete": delete_drive
|
||||
"/drive:v3/drive.drives.get": get_drive
|
||||
"/drive:v3/drive.drives.hide": hide_drive
|
||||
"/drive:v3/drive.drives.unhide": unhide_drive
|
||||
"/drive:v3/drive.drives.update": update_drive
|
||||
"/fusiontables:v2/fusiontables.table.importRows": import_rows
|
||||
"/fusiontables:v2/fusiontables.table.importTable": import_table
|
||||
"/games:v1/AchievementDefinitionsListResponse": list_achievement_definitions_response
|
||||
|
|
|
@ -35,6 +35,7 @@ module Google
|
|||
class Names
|
||||
ActiveSupport::Inflector.inflections do |inflections|
|
||||
inflections.uncountable('send_as', 'as')
|
||||
inflections.irregular('drive', 'drives')
|
||||
inflections.irregular('teamdrive', 'teamdrives')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue