Class: HostMetaController
- Inherits:
-
ActionController::Metal
- Object
- ActionController::Metal
- HostMetaController
- Includes:
- ActionController::Redirecting
- Defined in:
- app/controllers/host_meta_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 |
# File 'app/controllers/host_meta_controller.rb', line 5 def index self.response_body = Proudhon::HostMeta.to_xml("#{ webfinger_url }?q={uri}") self.content_type = Mime::XML end |