Method: OpenLibrary#select_fulltext

Defined in:
app/service_adaptors/open_library.rb

#select_fulltext(editions) ⇒ Object

right now we only know of a work having fulltext if it has an ocaid in case we discover other ways to determine fulltext availability we

move it to its own method



157
158
159
160
161
# File 'app/service_adaptors/open_library.rb', line 157

def select_fulltext(editions)
  editions.select do |ed|
    ! ed['ocaid'].blank?
  end
end