lib/arcrest/service.rb in arcrest-0.0.3 vs lib/arcrest/service.rb in arcrest-0.0.4
- old
+ new
@@ -1,10 +1,12 @@
+# frozen_string_literal: true
+
module ArcREST
# a FeatureService or a MapService
class Service < Server
attr_reader :max_record_count, :capabilities, :layers
- def initialize(url)
+ def initialize(url, headers = {})
super
@max_record_count = max_record_count_
@capabilities = capabilities_
@layers = layers_
end