Module: Brocktail

Defined in:
lib/brocktail.rb,
lib/brocktail/act.rb,
lib/brocktail/base.rb,
lib/brocktail/event.rb,
lib/brocktail/errors.rb,
lib/brocktail/version.rb,
lib/brocktail/api/acts.rb,
lib/brocktail/api/base.rb,
lib/brocktail/api/events.rb,
lib/brocktail/base_model.rb,
lib/brocktail/credentials.rb,
lib/brocktail/behavior/crud.rb

Defined Under Namespace

Modules: API, Behavior Classes: Act, BadRequest, Base, BaseModel, Credentials, Event, HTTPError, InformHarvest, InvalidCredentials, NotFound, RateLimited, ServerError, Unavailable

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.client(username, password, options = {}) ⇒ Object



19
20
21
# File 'lib/brocktail.rb', line 19

def client(username, password, options = {})
  Brocktail::Base.new(username, password, options)
end