Class: Hyrax::ListSourceExporter Deprecated
- Inherits:
-
GraphExporter::ListSourceExporter
- Object
- GraphExporter::ListSourceExporter
- Hyrax::ListSourceExporter
- Defined in:
- app/services/hyrax/list_source_exporter.rb
Overview
Deprecated.
see Hyrax::GraphExporter::ListSourceExporter
Retrieves the graph for an object with the internal triples removed and the uris translated to external uris.
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(id, request, parent_url, hostname: nil) ⇒ ListSourceExporter
constructor
A new instance of ListSourceExporter.
Constructor Details
#initialize(id, request, parent_url, hostname: nil) ⇒ ListSourceExporter
Returns a new instance of ListSourceExporter.
14 15 16 17 18 |
# File 'app/services/hyrax/list_source_exporter.rb', line 14 def initialize(id, request, parent_url, hostname: nil) Deprecation.warn("#{subject.class} is deprecated and replaced with the (private) Hyrax::GraphExporter::") host = hostname || request.host super(id: id, parent_url: parent_url, hostname: host) end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
24 25 26 |
# File 'app/services/hyrax/list_source_exporter.rb', line 24 def request @request end |