Class: Cnf::FnacCatalog

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



209
210
211
212
213
# File 'lib/cnf/catalog.rb', line 209

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

Instance Method Details

#supported_parent_offer?(_) ⇒ Boolean

Returns:

  • (Boolean)


216
217
218
# File 'lib/cnf/catalog.rb', line 216

def supported_parent_offer?(_)
  true
end