Sha256: f34ad14b9a92a7313e625e6e0902946fd7fa4a7a8a2a198fa7cd0c9c87e7318d

Contents?: true

Size: 484 Bytes

Versions: 1

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adparlor-facebook-0.7.3 lib/adparlor/facebook/config.rb