Sha256: 3e1132c804f3879d4329a9ed5377f7cd336249f68dd8effb1f633e2a74a0df93

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 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 = 'v16.0'
        @base_uri = 'https://graph.facebook.com'
        @proxy_api_key = nil
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adparlor-facebook-0.8.0 lib/adparlor/facebook/config.rb
adparlor-facebook-0.7.9 lib/adparlor/facebook/config.rb
adparlor-facebook-0.7.8 lib/adparlor/facebook/config.rb