Module: Bamboozled
- Defined in:
- lib/bamboozled.rb,
lib/bamboozled/base.rb,
lib/bamboozled/errors.rb,
lib/bamboozled/version.rb,
lib/bamboozled/api/base.rb,
lib/bamboozled/api/meta.rb,
lib/bamboozled/api/report.rb,
lib/bamboozled/api/employee.rb,
lib/bamboozled/api/time_off.rb
Defined Under Namespace
Modules: API Classes: BadRequest, Base, Conflict, Forbidden, GatewayError, HTTPError, InformBamboo, InternalServerError, LimitExceeded, NotAcceptable, NotFound, ServiceUnavailable, Unauthorized
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
-
.client(subdomain: nil, api_key: nil) ⇒ Object
Creates a standard client that will raise all errors it encounters.
Class Method Details
.client(subdomain: nil, api_key: nil) ⇒ Object
Creates a standard client that will raise all errors it encounters
16 17 18 |
# File 'lib/bamboozled.rb', line 16 def client(subdomain: nil, api_key: nil) Bamboozled::Base.new(subdomain: subdomain, api_key: api_key) end |