Project

b2

0.01
No commit activity in last 3 years
No release in over 3 years
ruby wrapper for backblaze b2 API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
~> 3.0

Runtime

~> 0.13
 Project Readme

B2

Ruby Wrapper for Backblaze B2 Api

Installation

Add this line to your application's Gemfile:

gem 'b2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install b2

Usage

Write your api key in config/initializers/b2.rb

B2.configuration do |config|
  config.application_key = YOUR-APPLICATION-KEY
  config.account_id = YOUR-ACCOUNT-ID
end

To-Do

  • More doc for api call
  • integrate with carrierwave
  • Test Unit

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/metalkoholic/b2.

  1. Fork it ( https://github.com/metalkoholic/b2/fork )
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create a new Pull Request

License

The gem is available as open source under the terms of the MIT License.