Class: ArcREST::Service

Inherits:
Server
  • Object
show all
Defined in:
lib/arcrest/service.rb

Overview

a FeatureService or a MapService

Constant Summary

Constants inherited from Server

ArcREST::Server::BAD_ENDPOINT, ArcREST::Server::ENDPOINT_REGEX

Constants included from Curlable

Curlable::RETRIES

Instance Attribute Summary collapse

Attributes inherited from Server

#json, #url, #version

Instance Method Summary collapse

Methods included from Curlable

#curl_get

Constructor Details

#initialize(url, headers = {}) ⇒ Service

Returns a new instance of Service.



8
9
10
11
12
13
# File 'lib/arcrest/service.rb', line 8

def initialize(url, headers = {})
  super
  @max_record_count = max_record_count_
  @capabilities = capabilities_
  @layers = layers_
end

Instance Attribute Details

#capabilitiesObject (readonly)

Returns the value of attribute capabilities.



6
7
8
# File 'lib/arcrest/service.rb', line 6

def capabilities
  @capabilities
end

#layersObject (readonly)

Returns the value of attribute layers.



6
7
8
# File 'lib/arcrest/service.rb', line 6

def layers
  @layers
end

#max_record_countObject (readonly)

Returns the value of attribute max_record_count.



6
7
8
# File 'lib/arcrest/service.rb', line 6

def max_record_count
  @max_record_count
end