lib/google/ads/google_ads.rb in google-ads-googleads-1.0.0 vs lib/google/ads/google_ads.rb in google-ads-googleads-1.1.0
- old
+ new
@@ -14,12 +14,16 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/ads/google_ads/google_ads_client'
+require 'google/ads/google_ads/api_versions'
module Google
module Ads
module GoogleAds
+ def self.valid_version?(version)
+ KNOWN_API_VERSIONS.include?(version)
+ end
end
end
end