Class: Geoblacklight::WebServicesWmsComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/geoblacklight/web_services_wms_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reference:, document:) ⇒ WebServicesWmsComponent

Returns a new instance of WebServicesWmsComponent.



6
7
8
9
10
# File 'app/components/geoblacklight/web_services_wms_component.rb', line 6

def initialize(reference:, document:)
  @reference = reference
  @document = document
  super()
end

Instance Attribute Details

#documentObject (readonly)

Returns the value of attribute document.



5
6
7
# File 'app/components/geoblacklight/web_services_wms_component.rb', line 5

def document
  @document
end

#referenceObject (readonly)

Returns the value of attribute reference.



5
6
7
# File 'app/components/geoblacklight/web_services_wms_component.rb', line 5

def reference
  @reference
end