Class: Gemgento::SyncController

Inherits:
ApplicationController show all
Defined in:
app/controllers/gemgento/sync_controller.rb

Instance Method Summary collapse

Instance Method Details

#busyObject



25
26
27
# File 'app/controllers/gemgento/sync_controller.rb', line 25

def busy
  render :nothing => true
end

#everythingObject



20
21
22
23
# File 'app/controllers/gemgento/sync_controller.rb', line 20

def everything
  Sync.everything
  render :nothing => true
end

#ordersObject



14
15
16
17
18
# File 'app/controllers/gemgento/sync_controller.rb', line 14

def orders
  Sync.customers
  Sync.orders
  render :nothing => true
end

#productsObject



6
7
8
9
10
11
12
# File 'app/controllers/gemgento/sync_controller.rb', line 6

def products
  Sync.categories
  Sync.attributes
  Sync.products
  Sync.inventory
  render :nothing => true
end