Sha256: deb0f5f68c06f6b2b0364f5eaf2afa1db111ebdcdaf728496a5f206b7f82150e

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module Google
  module Ads
    module GoogleAds
      KNOWN_API_VERSIONS = [:V6, :V7, :V8]
      DEFAULT_API_VERSION = :V8

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