Class: TokenHawk::DomainsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TokenHawk::DomainsController
- Defined in:
- app/controllers/token_hawk/domains_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/controllers/token_hawk/domains_controller.rb', line 5 def show query = DomainQuery.new(domain: params[:domain]) @domain = params[:domain] @total_cost = query.total_cost @call_count = query.call_count @cost_per_call = query.cost_per_call @top_tags = query. @recent_calls = query.recent_calls end |