Sha256: 7207623d31e09364b5241bf7683f9e7f56a97c7f7b029992cc8f6fb4806ccd56

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

module Google
  module Ads
    module GoogleAds
      KNOWN_API_VERSIONS = [:V9, :V10, :V11]
      DEFAULT_API_VERSION = :V11

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