Class: Gemgento::Magento::OrdersController

Inherits:
BaseController show all
Defined in:
app/controllers/gemgento/magento/orders_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#validate_ip

Instance Method Details

#updateObject



5
6
7
8
# File 'app/controllers/gemgento/magento/orders_controller.rb', line 5

def update
  @order = Gemgento::Magento::OrderAdapter.find(params[:data][:increment_id]).import
  render nothing: true
end