Skip to content

About

Simple asset persistence library

Resources

Contributing

Stars

0 stars

Watchers

5 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

Jackal Assets

Simple API to store and retrieve objects.

Usage

require 'jackal-assets'

object_store = Jackal::Assets::Store.new
object = object_store.get('item/i/want.json')

File.open('/tmp/fubar', 'w') do |f|
  f.write object.readpartial
  f.puts 'YAY'
end

object_store.put('my/updated/file.json', '/tmp/fubar')

Configuration

Configure

{
  "jackal": {
    "assets": {
      "connection": {
        "provider": "aws",
        "credentials": {
        }
      },
      "bucket": "BUCKET_NAME"
    }
  }
}

Info

About

Simple asset persistence library

Resources

Contributing

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages