Sha256: aadf5520aaedaf83cf7f97923c70bf5e2929a54d64d5fe8b13093da42484bfbc

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

require "httparty"
require "json"
require "uri"

require "bamboozled/version"
require "bamboozled/base"
require "bamboozled/errors"
require "bamboozled/ext/yesno"
require "bamboozled/api/base"
require "bamboozled/api/employee"
require "bamboozled/api/report"
require "bamboozled/api/time_off"
require "bamboozled/api/meta"

module Bamboozled
  class << self
    # Creates a standard client that will raise all errors it encounters
    def client(subdomain: nil, api_key: nil)
      Bamboozled::Base.new(subdomain: subdomain, api_key: api_key)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bamboozled-0.1.0 lib/bamboozled.rb