Sha256: 9df62415d88d1135daa52184a805952eb351f909b3ef72eed74d23f4a8fdfe50

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

module Google
  module Ads
    module GoogleAds
      KNOWN_API_VERSIONS = [:V13, :V14, :V15]
      DEFAULT_API_VERSION = :V15

      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

3 entries across 3 versions & 1 rubygems

Version Path
google-ads-googleads-25.0.2 lib/google/ads/google_ads/api_versions.rb
google-ads-googleads-25.0.1 lib/google/ads/google_ads/api_versions.rb
google-ads-googleads-25.0.0 lib/google/ads/google_ads/api_versions.rb