Sha256: ef8790fbedc856843b6e3d989e360aadacc6afc44f9b6d9208259d2e8e3e103b

Contents?: true

Size: 485 Bytes

Versions: 1

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 = 'v11.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.5 lib/adparlor/facebook/config.rb