Module: RdfSyncService::Helper
- Included in:
- Collections::VersionsController, Concepts::VersionsController, TriplestoreSyncController
- Defined in:
- app/services/rdf_sync_service.rb
Overview
TODO: rename – XXX: does not belong here!?
Instance Method Summary collapse
Instance Method Details
#triplestore_syncer ⇒ Object
109 110 111 112 113 114 115 116 |
# File 'app/services/rdf_sync_service.rb', line 109 def triplestore_syncer base_url = root_url(lang: nil) # XXX: brittle in the face of future changes? return RdfSyncService.new(base_url, Iqvoc.config['triplestore.url'], username: Iqvoc.config['triplestore.username'].presence, password: Iqvoc.config['triplestore.password'].presence, view_context: view_context) # fugly, but necessary; cf. RDFSync#serialize end |