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



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

def capability_list
  render_from_cache_as_xml(:capability_list)
end

#change_listObject



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

def change_list
  render_from_cache_as_xml(:change_list)
end

#default_url_optionsObject

We don’t need locale here



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

def default_url_options
  super.except(:locale)
end

#resource_listObject



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

def resource_list
  render_from_cache_as_xml(:resource_list)
end

#source_descriptionObject



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

def source_description
  render_from_cache_as_xml(:source_description)
end