Sha256: 620d90b5e8f84881cb50e18f08a2dc7a1ff81d8df444a17119398b556c0aaa00

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

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

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