Class: WechatPayment::PaymentOrdersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- WechatPayment::PaymentOrdersController
- Defined in:
- app/controllers/wechat_payment/payment_orders_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/wechat_payment/payment_orders_controller.rb', line 3 def index @payment_orders = WechatPayment::PaymentOrder.by_state(params[:state]) render json: @payment_orders end |