Sha256: 5a7b608c62a7f5947b1039863845a5e5b49c235933df17674830e89244c98db7

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

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

      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-10.0.0 lib/google/ads/google_ads/api_versions.rb
google-ads-googleads-9.0.0 lib/google/ads/google_ads/api_versions.rb