class ArcServer::GeometryService
Attributes
rest_service[R]
Public Class Methods
new(url, opts = {})
click to toggle source
# File lib/arcserver/geometry_service.rb, line 12 def initialize(url, opts = {}) raise Exception, "#{url} is not a valid Geometry Service url" unless geometry_service?(url) @rest_service = opts[:rest_service] || REST::GeometryService.new(to_rest(url)) end