Skip to content

blinkboxbooks/common_mapping.rb

Repository files navigation

Blinkbox::CommonMapping

Deals with blinkbox Books virtual URIs and acts like a local File object.

mapper = Mappings.new(
  "http://quatermaster.blinkbox.local",
  service_name: "Labs/example_code"
)

mapper.open("bbbmap::testfile:/some/path/component.epub") do |io|
  p io
  # This is a Tempfile object, interact with it as you wish!
end
# Temporary file has been deleted

About

Integration with our storage service for storage and retrieval of virtually mapped files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages