class ArcServer::FeatureServer

Attributes

rest_service[R]

Public Class Methods

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