Class: TokenHawk::RecentController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TokenHawk::RecentController
- Defined in:
- app/controllers/token_hawk/recent_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/token_hawk/recent_controller.rb', line 5 def index @calls = RecentQuery.new( domain: params[:domain], limit: params.fetch(:limit, 50).to_i ).calls end |