Class: Postini::EndpointResolverService
- Inherits:
-
Handsoap::Service
- Object
- Handsoap::Service
- Postini::EndpointResolverService
- Includes:
- ConfigurationCheck
- Defined in:
- lib/postini/endpoint_resolver_service.rb
Instance Method Summary collapse
Methods included from ConfigurationCheck
Instance Method Details
#get_service_endpoint(email, service = "v2AutomatedBatch") ⇒ Object
public methods
14 15 16 17 18 19 20 21 22 |
# File 'lib/postini/endpoint_resolver_service.rb', line 14 def get_service_endpoint( email, service = "v2AutomatedBatch" ) response = invoke("end:GetServiceEndpoint") do || .add( "apiKey", Postini.api_key ) .add( "email", email ) .add( "service", service ) end parse_get_service_endpoint_result( response.document.xpath('//tns:GetServiceEndpointResponse', tns).first ) end |