Sha256: 5ed8dc3359419a815baa00a2769a0bd2e0359fe1574afa365d83f6138bfb2ac9

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

module ExactTargetClient
  class Conf

    DEFAULT_TOKEN_ENDPOINT = 'https://auth.exacttargetapis.com/v1/requestToken'
    DEFAULT_API_ENDPOINT = 'https://www.exacttargetapis.com'

    class << self

      attr_accessor :wsdl, :token_endpoint, :api_endpoint, :client_id, :client_secret

      def configure
        @token_endpoint = DEFAULT_TOKEN_ENDPOINT
        @api_endpoint = DEFAULT_API_ENDPOINT
        yield self
        true
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exact-target-client-0.0.4 lib/exact_target_client/conf.rb
exact-target-client-0.0.3 lib/exact_target_client/conf.rb
exact-target-client-0.0.2 lib/exact_target_client/conf.rb