Class: Postini::Endpoints

Inherits:
Object
  • Object
show all
Defined in:
lib/postini/endpoints.rb

Overview

Our endpoints for use by handsoap

Class Method Summary collapse

Class Method Details

.automated_batchObject

Raises:



15
16
17
18
19
20
21
22
# File 'lib/postini/endpoints.rb', line 15

def automated_batch
  raise NotConfigured, "automatedbatch service endpoint requires system number" if Postini.system_number.nil?

  {
    :uri => "https://api-s#{Postini.system_number}.postini.com/api2/automatedbatch",
    :version => 1
  }
end

.resolverObject



8
9
10
11
12
13
# File 'lib/postini/endpoints.rb', line 8

def resolver
  {
    :uri => "https://api-meta.postini.com/api2/endpointresolver",
    :version => 1
  }
end