Class: Cnf::StoreCatalog
Class Method Summary
collapse
Instance Method Summary
collapse
active, #borrowable_offer?, call, find_by_name, #matches_any_conditions?, names, #use_competition?, #use_flat_rate?
Class Method Details
.data ⇒ Object
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
201
202
203
|
# File 'lib/cnf/catalog.rb', line 201
def supported_parent_offer?(_)
true
end
|