Class: RawgentoModels::RemoteProduct

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/rawgento_models/remote_product.rb

Class Method Summary collapse

Class Method Details

.linkedObject



10
11
12
# File 'lib/rawgento_models/remote_product.rb', line 10

def self.linked
  self.where.not(local_product: nil)
end

.unlinkedObject



14
15
16
# File 'lib/rawgento_models/remote_product.rb', line 14

def self.unlinked
  self.where(local_product: nil)
end