class ArcServer::GPServer

Attributes

rest_service[R]

Public Class Methods

new(url, opts = {}) click to toggle source
# File lib/arcserver/gp_server.rb, line 14
def initialize(url, opts = {})
  raise Exception, "#{url} is not a valid map server url" unless gp_server?(url)
  @rest_service = opts[:rest_service] || REST::GPServer.new(to_rest(url))
end