Class: Gemgento::Adapter::SellectAdapter
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Gemgento::Adapter::SellectAdapter
- Defined in:
- app/models/gemgento/adapter/sellect_adapter.rb
Class Method Summary collapse
Class Method Details
.import(store, currency) ⇒ Object
10 11 12 13 |
# File 'app/models/gemgento/adapter/sellect_adapter.rb', line 10 def self.import(store, currency) Gemgento::Store.current = store Gemgento::Adapter::Sellect::Product.import(currency) end |
.query(table_name) ⇒ Object
5 6 7 8 |
# File 'app/models/gemgento/adapter/sellect_adapter.rb', line 5 def self.query(table_name) self.table_name = table_name return self end |