Class: Geoblacklight::WebServicesWfsComponent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reference:, document:) ⇒ WebServicesWfsComponent

Returns a new instance of WebServicesWfsComponent.



6
7
8
9
10
# File 'app/components/geoblacklight/web_services_wfs_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_wfs_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_wfs_component.rb', line 5

def reference
  @reference
end