Class: RawgentoModels::RemoteProduct
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- RawgentoModels::RemoteProduct
- Defined in:
- lib/rawgento_models/remote_product.rb
Class Method Summary collapse
Class Method Details
.linked ⇒ Object
10 11 12 |
# File 'lib/rawgento_models/remote_product.rb', line 10 def self.linked self.where.not(local_product: nil) end |
.unlinked ⇒ Object
14 15 16 |
# File 'lib/rawgento_models/remote_product.rb', line 14 def self.unlinked self.where(local_product: nil) end |