Sha256: 4efa70c2002544eb68307fc85ca25b73fec8bb9671cb6f3ecd4a1f9d0070b90b

Contents?: true

Size: 485 Bytes

Versions: 2

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adparlor-facebook-0.6.0 lib/adparlor/facebook/config.rb
adparlor-facebook-0.5.9 lib/adparlor/facebook/config.rb