0.0
No commit activity in last 3 years
No release in over 3 years
Jackal Assets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

> 0.1.14
>= 0
>= 0
 Project Readme

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