lib/opds/acquisition_feed.rb
# Get a collection of facets groupped by opds:facetGroup
# @return [Hash] facets
Get a collection of facets groupped by opds:facetGroup
Get a collection of facets groupped by opds : facetGroup
def facets
			return @facets if @facets
			@facets={}
			links['http://opds-spec.org/facet'].each do |facet|
			@facets[facet.facet_group]||=[]
			@facets[facet.facet_group].push facet
			end
			@facets
		end
def facets return @facets if @facets @facets = { } links [ 'http://opds-spec.org/facet' ] . each do | facet | @facets [ facet . facet_group ] ||= [ ] @facets [ facet . facet_group ] . push facet end @facets end
Get a collection of facets groupped by opds:facetGroup
Get a collection of facets groupped by opds : facetGroup
None
Hash