Class: ArcREST::Service
Overview
a FeatureService or a MapService
Constant Summary
Constants inherited from Server
ArcREST::Server::BAD_ENDPOINT, ArcREST::Server::ENDPOINT_REGEX
Constants included from Curlable
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
readonly
Returns the value of attribute capabilities.
-
#layers ⇒ Object
readonly
Returns the value of attribute layers.
-
#max_record_count ⇒ Object
readonly
Returns the value of attribute max_record_count.
Attributes inherited from Server
Instance Method Summary collapse
-
#initialize(url, headers = {}) ⇒ Service
constructor
A new instance of Service.
Methods included from Curlable
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
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities.
6 7 8 |
# File 'lib/arcrest/service.rb', line 6 def capabilities @capabilities end |
#layers ⇒ Object (readonly)
Returns the value of attribute layers.
6 7 8 |
# File 'lib/arcrest/service.rb', line 6 def layers @layers end |
#max_record_count ⇒ Object (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 |