Sha256: cbad6df2c09e4ab9acaa714ddc7dac50f8253ddf93b89c6957ce44aa3afd87b8
Contents?: true
Size: 674 Bytes
Versions: 6
Compression:
Stored size: 674 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'facebook_ads' require 'awesome_print' require 'pry' begin FacebookAds.access_token = File.read('test_access_token').chop puts "access_token: #{FacebookAds.access_token}" rescue Errno::ENOENT puts 'Create a test_access_token file and add your Access Token to it.' exit end begin FacebookAds.business_id = File.read('test_business_id').chop puts "business_id: #{FacebookAds.business_id}" rescue Errno::ENOENT puts 'Create a test_business_id file and add your Business ID to it.' end FacebookAds.logger = Logger.new(STDOUT) FacebookAds.logger.level = Logger::Severity::DEBUG AwesomePrint.pry! binding.pry
Version data entries
6 entries across 6 versions & 1 rubygems