Sha256: f39ea967a9beaaa2bd3f932df445bbe46c9ce89a642baa5fbddb32d07477423c

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

module Google
  module Ads
    module GoogleAds
      KNOWN_API_VERSIONS = [:V5, :V6, :V7, :V8]
      DEFAULT_API_VERSION = :V8

      def self.default_api_version
        DEFAULT_API_VERSION
      end

      def self.known_api_versions
        KNOWN_API_VERSIONS
      end

      def self.valid_version?(version)
        known_api_versions.include?(version)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-ads-googleads-12.0.2 lib/google/ads/google_ads/api_versions.rb
google-ads-googleads-12.0.1 lib/google/ads/google_ads/api_versions.rb