Sha256: 2bf5699c4700ea12c59e94397fff664ebcf3b7c134e92fe60a10642e4a0a6e6c

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

require 'net/https'
require 'uri'

require 'bobot/engine'
require 'bobot/exceptions'
require 'bobot/error_parser'
require 'bobot/graph_facebook'
require 'bobot/configuration'
require 'bobot/subscription'
require 'bobot/profile'
require 'bobot/user'
require 'bobot/buttons'
require 'bobot/commander'
require 'bobot/event'
require 'bobot/page'

module Bobot
  def self.configure
    yield config
  end

  def self.config
    @config ||= Configuration.new
  end

  def self.config=(config)
    @config = config
  end

  configure do |config|
    config.pages = []
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bobot-3.0.3 lib/bobot.rb
bobot-3.0.2 lib/bobot.rb
bobot-3.0.1 lib/bobot.rb