Sha256: b2c94146c79190f3f2844f9c9ea5acd49462d359f447c919d126b95d32c06608

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

require 'httparty'
require 'json'
require 'uri'

require 'bamboozled/ext/yesno'

require 'bamboozled/version'
require 'bamboozled/errors'
require 'bamboozled/base'

%w(base employee report time_off).each {|a| require "bamboozled/api/#{a}"}

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

2 entries across 2 versions & 1 rubygems

Version Path
bamboozled-0.0.3 lib/bamboozled.rb
bamboozled-0.0.2 lib/bamboozled.rb