Sha256: cb52d2ae7424829dc2a48c9d994cde11ab6b82cc73ddf42d64b75fbac3a4eea3

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

#
# Copyright (C) 2007 Mobio Networks, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

=begin
note that we require use of the new Mobio config yml schema created by Lars
and documented at http://opssrv01/wiki/index.php/Mobio_Rails_Application_Framework_2.0#Use_Config_Manager
=end
module Rmobio
  module Ads

    if not defined? MOBIO_CONFIG['ad_network'] and MOBIO_CONFIG['ad_network'].nil?
      adlib="rmobio/ads/" + MOBIO_CONFIG['ad_network']
      require adlib
      eval("include " + adlib.camelize)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rmobio-1.1.6 lib/rmobio/ads.rb