Class: Katello::Api::V2::CapsulesController
- Inherits:
-
Api::V2::SmartProxiesController
- Object
- Api::V2::SmartProxiesController
- Katello::Api::V2::CapsulesController
- Defined in:
- app/controllers/katello/api/v2/capsules_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/katello/api/v2/capsules_controller.rb', line 9 def index @smart_proxies = SmartProxy.with_content.(:view_smart_proxies).includes(:features). search_for(*).paginate() @total = SmartProxy.with_content.(:view_smart_proxies).includes(:features).count end |
#resource_name ⇒ Object
21 22 23 |
# File 'app/controllers/katello/api/v2/capsules_controller.rb', line 21 def resource_name :smart_proxy end |
#show ⇒ Object
17 18 19 |
# File 'app/controllers/katello/api/v2/capsules_controller.rb', line 17 def show super end |