Sha256: fb9d1580e7c022ee7542a2848ecec8a12e1e6c49fc2fff3aa76b9fc0b5ead1a5
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
module Bamboozled class Base attr_reader :request def initialize(subdomain: nil, api_key: nil) @subdomain, @api_key = subdomain, api_key end def employee @employee ||= Bamboozled::API::Employee.new(@subdomain, @api_key) end def report @report ||= Bamboozled::API::Report.new(@subdomain, @api_key) end def time_off @time_off ||= Bamboozled::API::TimeOff.new(@subdomain, @api_key) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bamboozled-0.0.3 | lib/bamboozled/base.rb |
bamboozled-0.0.2 | lib/bamboozled/base.rb |