lib/google/ads/google_ads.rb in google-ads-googleads-1.1.1 vs lib/google/ads/google_ads.rb in google-ads-googleads-2.0.0

- old
+ new

@@ -13,17 +13,17 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # 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' +require 'google/ads/google_ads/google_ads_client' module Google module Ads module GoogleAds def self.valid_version?(version) - KNOWN_API_VERSIONS.include?(version) + known_api_versions.include?(version) end end end end