Class: Cnf::StoreCatalog

Inherits:
AbebooksCatalog show all
Defined in:
lib/cnf/catalog.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbebooksCatalog

active, #borrowable_offer?, call, find_by_name, #matches_any_conditions?, names, #use_competition?, #use_flat_rate?

Class Method Details

.dataObject



194
195
196
197
198
# File 'lib/cnf/catalog.rb', line 194

def data
  @data ||= Cnf.store_channels.map do |channel|
    new(channel.to_h)
  end
end

Instance Method Details

#supported_parent_offer?(_) ⇒ Boolean

Returns:

  • (Boolean)


201
202
203
# File 'lib/cnf/catalog.rb', line 201

def supported_parent_offer?(_)
  true
end