Class: OaiRepository::ServicesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- OaiRepository::ServicesController
- Defined in:
- app/controllers/oai_repository/services_controller.rb
Instance Method Summary collapse
Instance Method Details
#get_provider ⇒ Object
13 14 15 |
# File 'app/controllers/oai_repository/services_controller.rb', line 13 def get_provider @provider ||= OAIProvider::provider.new end |
#show ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/oai_repository/services_controller.rb', line 5 def show = params.delete_if { |k,v| %w{controller action}.include?(k) } response = get_provider.process_request() render :xml => response end |