Sha256: bbee4213e8402613c6da5809811304bb2bd67f75a10dd485aec444b59da7314a

Contents?: true

Size: 1.09 KB

Versions: 12

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

if MOBIO_CONFIG['ad_network']
  adlib="rmobio/ads/" + MOBIO_CONFIG['ad_network']
else
  puts "Not using ad network"
  adlib='rmobio/ads/' + 'no_network'
end
require adlib
puts "Including " + adlib.camelize
eval("include " + adlib.camelize)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rmobio-1.1.15 lib/rmobio/ads.rb
rmobio-1.1.12 lib/rmobio/ads.rb
rmobio-1.1.13 lib/rmobio/ads.rb
rmobio-1.1.14 lib/rmobio/ads.rb
rmobio-1.1.11 lib/rmobio/ads.rb
rmobio-1.1.10 lib/rmobio/ads.rb
rmobio-1.1.16 lib/rmobio/ads.rb
rmobio-1.1.19 lib/rmobio/ads.rb
rmobio-1.1.18 lib/rmobio/ads.rb
rmobio-1.1.17 lib/rmobio/ads.rb
rmobio-1.1.20 lib/rmobio/ads.rb
rmobio-1.1.21 lib/rmobio/ads.rb