class ArcREST::Service

a FeatureService or a MapService

Attributes

capabilities[R]
layers[R]
max_record_count[R]

Public Class Methods

new(url, headers = {}) click to toggle source
Calls superclass method ArcREST::Server::new
# File lib/arcrest/service.rb, line 8
def initialize(url, headers = {})
  super
  @max_record_count = max_record_count_
  @capabilities = capabilities_
  @layers = layers_
end

Private Instance Methods

capabilities_() click to toggle source
# File lib/arcrest/service.rb, line 21
def capabilities_
  @json['capabilities'] ? @json['capabilities'].split(',') : nil
end
layers_() click to toggle source
# File lib/arcrest/service.rb, line 25
def layers_
  @json['layers']
end
max_record_count_() click to toggle source
# File lib/arcrest/service.rb, line 17
def max_record_count_
  @json['maxRecordCount']
end