Sha256: d02f42cdb690ff16a8da88c99fd8484d2ac9c139bc4f918014ca60a4435aa0e9

Contents?: true

Size: 956 Bytes

Versions: 3

Compression:

Stored size: 956 Bytes

Contents

# frozen_string_literal: true

module Bing
  module Ads
    module API
      # Bing::Ads::API::V11::Constants
      module Constants
        root_v11_path = File.expand_path('../', __FILE__)

        campaign_management_path = File.join(root_v11_path, 'constants', 'campaign_management.yml')
        languages_path = File.join(root_v11_path, 'constants', 'languages.yml')
        limits_path = File.join(root_v11_path, 'constants', 'limits.yml')
        time_zones_path = File.join(root_v11_path, 'constants', 'time_zones.yml')
        wsdl_path = File.join(root_v11_path, 'constants', 'wsdl.yml')

        Persey.init(:default) do
          source :yaml, campaign_management_path, :campaign_management
          source :yaml, languages_path, :languages
          source :yaml, limits_path, :limits
          source :yaml, time_zones_path, :time_zones
          source :yaml, wsdl_path, :wsdl
          env :default
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bing-ads-0.1.3 lib/bing/ads/api/v11/constants.rb
bing-ads-0.1.2 lib/bing/ads/api/v11/constants.rb
bing-ads-0.1.0 lib/bing/ads/api/v11/constants.rb