code4lib / ruby-oai

a Ruby library for building OAI-PMH clients and servers
MIT License
62 stars 43 forks source link

Seamless resumption #23

Closed tjdett closed 11 years ago

tjdett commented 11 years ago

Adding :full and ResumptionWrapper, to allow seamless use of resumption tokens.

Can be used like this:

client.list_records.full.each do |record|
  # Do stuff with the records
end
# Or just the the full count of records
puts "There are #{client.list_identifiers.full.count} records."