Class: Hyrax::ResourceSyncController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/hyrax/resource_sync_controller.rb

Instance Method Summary collapse

Instance Method Details

#capability_listObject



12
13
14
# File 'app/controllers/hyrax/resource_sync_controller.rb', line 12

def capability_list
  render_from_cache_as_xml(:capability_list)
end

#change_listObject



16
17
18
# File 'app/controllers/hyrax/resource_sync_controller.rb', line 16

def change_list
  render_from_cache_as_xml(:change_list)
end

#default_url_optionsObject

We don’t need locale here



4
5
6
# File 'app/controllers/hyrax/resource_sync_controller.rb', line 4

def default_url_options
  super.except(:locale)
end

#resource_listObject



20
21
22
# File 'app/controllers/hyrax/resource_sync_controller.rb', line 20

def resource_list
  render_from_cache_as_xml(:resource_list)
end

#source_descriptionObject



8
9
10
# File 'app/controllers/hyrax/resource_sync_controller.rb', line 8

def source_description
  render_from_cache_as_xml(:source_description)
end