Class: MyMoipRails::BaseController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- MyMoipRails::BaseController
- Defined in:
- app/controllers/my_moip_rails/base_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#canceled ⇒ Object
9 10 11 |
# File 'app/controllers/my_moip_rails/base_controller.rb', line 9 def canceled yield if params[:status_pagamento].eql?('5') end |
#done ⇒ Object
5 6 7 |
# File 'app/controllers/my_moip_rails/base_controller.rb', line 5 def done yield if params[:status_pagamento].eql?('4') end |
#refunded ⇒ Object
17 18 19 |
# File 'app/controllers/my_moip_rails/base_controller.rb', line 17 def refunded yield if params[:status_pagamento].eql?('9') end |
#reversed ⇒ Object
13 14 15 |
# File 'app/controllers/my_moip_rails/base_controller.rb', line 13 def reversed yield if params[:status_pagamento].eql?('7') end |