Skip to content

karanece/b2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ruby wrapper for Backblaze B2 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.5%
  • Shell 1.5%