Class: ConektaDashboard::ChargesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ConektaDashboard::ChargesController
- Defined in:
- app/controllers/conekta_dashboard/charges_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/conekta_dashboard/charges_controller.rb', line 3 def index @charges = Conekta::Charge.all.map { |c| ConektaDashboard::Charge.new(c[1]) } end |