module Badgerkit

Ruby toolkit for the Badgerkit api.

Constants

VERSION

Public Class Methods

archive(directory) click to toggle source

Alias for {Badgerkit::Archive.archive}.

@param directory [String] the directory to archive. @return [File]

# File lib/badgerkit.rb, line 39
def archive(directory)
  Badgerkit::Archive.archive(directory)
end
new(options={}) click to toggle source

Alias for Badgerkit::Client.new

@return [Badgerkit::Client]

# File lib/badgerkit.rb, line 19
def new(options={})
  @options = options
  Badgerkit::Client.new(options)
end
post(*args) click to toggle source

Delegates to {Badgerkit::Client#post}

@return [Hashie::Mash]

# File lib/badgerkit.rb, line 29
def post(*args)
  new.post(*args)
end