Class: ExactTargetClient::Conf
- Inherits:
-
Object
- Object
- ExactTargetClient::Conf
- Defined in:
- lib/exact_target_client/conf.rb
Constant Summary collapse
- DEFAULT_TOKEN_ENDPOINT =
'https://auth.exacttargetapis.com/v1/requestToken'- DEFAULT_API_ENDPOINT =
'https://www.exacttargetapis.com'- DEFAULT_WSDL =
'https://webservice.s%{instance}.exacttarget.com/etframework.wsdl'
Class Attribute Summary collapse
-
.api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
-
.token_endpoint ⇒ Object
Returns the value of attribute token_endpoint.
-
.wsdl ⇒ Object
Returns the value of attribute wsdl.
Class Method Summary collapse
Class Attribute Details
.api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
11 12 13 |
# File 'lib/exact_target_client/conf.rb', line 11 def api_endpoint @api_endpoint end |
.client_id ⇒ Object
Returns the value of attribute client_id.
11 12 13 |
# File 'lib/exact_target_client/conf.rb', line 11 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
11 12 13 |
# File 'lib/exact_target_client/conf.rb', line 11 def client_secret @client_secret end |
.token_endpoint ⇒ Object
Returns the value of attribute token_endpoint.
11 12 13 |
# File 'lib/exact_target_client/conf.rb', line 11 def token_endpoint @token_endpoint end |
.wsdl ⇒ Object
Returns the value of attribute wsdl.
11 12 13 |
# File 'lib/exact_target_client/conf.rb', line 11 def wsdl @wsdl end |
Class Method Details
.configure {|_self| ... } ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/exact_target_client/conf.rb', line 13 def configure @token_endpoint = DEFAULT_TOKEN_ENDPOINT @api_endpoint = DEFAULT_API_ENDPOINT @wsdl = DEFAULT_WSDL yield self true end |