A client and set of convenience methods for retrieving metadata from PUL.
Add this line to your application's Gemfile:
gem 'pul_metadata_services'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pul_metadata_services
2.2.1 :001 > require 'pul_metadata_services'
=> true
2.2.1 :002 > record = PulMetadataServices::Client.retrieve('4609321')
=> #<PulMetadataServices::BibRecord:0x00000000eca950 @source="<record [...]
2.2.1 :003 > record.class
=> PulMetadataServices::BibRecord
2.2.1 :004 > record.source
=> "<record xmlns='http://www.loc.gov/MARC21/slim'><leader>01890cam a22 " [...]
2.2.1 :006 > record.title
=> ["Biblia Latina."]
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)