Sha256: 6d92538ad322ec2c5850075a8261a63776eb93ecc7e7236b5d13ea60be0a3a16

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

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

      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

1 entries across 1 versions & 1 rubygems

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