class Bamboozled::Base

Attributes

request[R]

Public Class Methods

new(subdomain: nil, api_key: nil, httparty_options: {}) click to toggle source
# File lib/bamboozled/base.rb, line 5
def initialize(subdomain: nil, api_key: nil, httparty_options: {})
  @subdomain, @api_key = subdomain
  @api_key = api_key
  @httparty_options = httparty_options
end

Public Instance Methods

applicant_tracking() click to toggle source
# File lib/bamboozled/base.rb, line 31
def applicant_tracking
  @applicant_tracking ||= Bamboozled::API::ApplicantTracking.new(@subdomain, @api_key, @httparty_options)
end
employee() click to toggle source
# File lib/bamboozled/base.rb, line 11
def employee
  @employee ||= Bamboozled::API::Employee.new(@subdomain, @api_key, @httparty_options)
end
meta() click to toggle source
# File lib/bamboozled/base.rb, line 19
def meta
  @meta ||= Bamboozled::API::Meta.new(@subdomain, @api_key, @httparty_options)
end
report() click to toggle source
# File lib/bamboozled/base.rb, line 15
def report
  @report ||= Bamboozled::API::Report.new(@subdomain, @api_key, @httparty_options)
end
time_off() click to toggle source
# File lib/bamboozled/base.rb, line 23
def time_off
  @time_off ||= Bamboozled::API::TimeOff.new(@subdomain, @api_key, @httparty_options)
end
time_tracking() click to toggle source
# File lib/bamboozled/base.rb, line 27
def time_tracking
  @time_tracking ||= Bamboozled::API::TimeTracking.new(@subdomain, @api_key, @httparty_options)
end