Sha256: 2712b456e0a84499a46d0e799862455aea9e2ee992c467a348a3468590d17d7d

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

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

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