lib/google/apis/generator.rb in google-api-client-0.13.1 vs lib/google/apis/generator.rb in google-api-client-0.13.2

- old
+ new

@@ -25,11 +25,12 @@ # @private class Generator Discovery = Google::Apis::DiscoveryV1 # Load templates - def initialize(api_names: nil) - @names = Google::Apis::Generator::Names.new(api_names || File.join(Google::Apis::ROOT, 'api_names.yaml')) + def initialize(api_names: nil, api_names_out: nil) + @names = Google::Apis::Generator::Names.new(api_names_out || File.join(Google::Apis::ROOT, 'api_names_out.yaml'), + api_names || File.join(Google::Apis::ROOT, 'api_names.yaml')) @module_template = Template.load('module.rb') @service_template = Template.load('service.rb') @classes_template = Template.load('classes.rb') @representations_template = Template.load('representations.rb') end