Sha256: 5dffd4e34e1d6b0706290c50a1ec07d0da946c61a95487a713402081a6d2cf52

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

module Adparlor
  module Facebook
    class << self
      attr_accessor :configuration

      def configure
        self.configuration ||= Configuration.new
        yield configuration
      end
    end

    class Configuration
      attr_accessor :api_version
      attr_accessor :base_uri
      attr_accessor :proxy_api_key

      def initialize
        @api_version = 'v3.3'
        @base_uri = 'https://graph.facebook.com'
        @proxy_api_key = nil
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adparlor-facebook-0.6.6 lib/adparlor/facebook/config.rb
adparlor-facebook-0.6.5 lib/adparlor/facebook/config.rb
adparlor-facebook-0.6.4 lib/adparlor/facebook/config.rb
adparlor-facebook-0.6.3 lib/adparlor/facebook/config.rb
adparlor-facebook-0.6.2 lib/adparlor/facebook/config.rb