Sha256: 48ee80b6d993e489e085727a9559b4e0a72852eb3d4c4786ad014987b11673c0

Contents?: true

Size: 1.09 KB

Versions: 167

Compression:

Stored size: 1.09 KB

Contents

# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'

module Google
  module Apis
    module <%= api.module_name %>
<% for cls in api.schemas.values.partition(&:variant).flatten -%>
<%= indent(include('representation_stub', :cls => cls), 6) -%>
<% end -%>
<% for cls in api.schemas.values.partition(&:variant).flatten -%>
<%= indent(include('representation', :cls => cls, :api => api), 6) -%>
<% end -%>
    end
  end
end

Version data entries

167 entries across 167 versions & 2 rubygems

Version Path
google-api-client-0.52.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.51.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.50.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.49.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.48.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.47.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.46.2 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.46.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.46.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.45.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.45.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.44.2 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.44.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.44.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.43.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.42.2 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.42.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.42.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.41.2 lib/google/apis/generator/templates/representations.rb.tmpl
google-api-client-0.41.1 lib/google/apis/generator/templates/representations.rb.tmpl