Sha256: 63a94a1b7ea9929ad4b8b59d6c82371b6057f1df011a014d5d091844d7bbcf10
Contents?: true
Size: 833 Bytes
Versions: 8
Compression:
Stored size: 833 Bytes
Contents
module Bamboozled class Base attr_reader :request def initialize(subdomain: nil, api_key: nil, httparty_options: {}) @subdomain, @api_key = subdomain @api_key = api_key @httparty_options = httparty_options end def employee @employee ||= Bamboozled::API::Employee.new(@subdomain, @api_key, @httparty_options) end def report @report ||= Bamboozled::API::Report.new(@subdomain, @api_key, @httparty_options) end def meta @meta ||= Bamboozled::API::Meta.new(@subdomain, @api_key, @httparty_options) end def time_off @time_off ||= Bamboozled::API::TimeOff.new(@subdomain, @api_key, @httparty_options) end def time_tracking @time_tracking ||= Bamboozled::API::TimeTracking.new(@subdomain, @api_key, @httparty_options) end end end
Version data entries
8 entries across 8 versions & 2 rubygems