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,
lib/bamboozled/api/time_tracking.rb,
lib/bamboozled/api/field_collection.rb

Defined Under Namespace

Modules: API Classes: AuthenticationFailed, BadRequest, Base, Conflict, Forbidden, GatewayError, HTTPError, InformBamboo, InternalServerError, LimitExceeded, NotAcceptable, NotFound, ServiceUnavailable, Unauthorized

Constant Summary collapse

VERSION =
"0.2.15".freeze

Class Method Summary collapse

Class Method Details

.client(subdomain: nil, api_key: nil, httparty_options: {}) ⇒ Object

Creates a standard client that will raise all errors it encounters



20
21
22
# File 'lib/bamboozled.rb', line 20

def client(subdomain: nil, api_key: nil, httparty_options: {})
  Bamboozled::Base.new(subdomain: subdomain, api_key: api_key, httparty_options: httparty_options)
end