forward-labs/wheniwork

View on GitHub
lib/wheniwork.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'json'
require 'faraday'
require 'active_support'
require 'faraday_middleware'

require 'wheniwork/version'
require 'wheniwork/configuration'
require 'wheniwork/client'

module WhenIWork
  def self.configuration
    @configuration ||=  WhenIWork::Configuration.new
  end

  def self.configure
    yield(configuration) if block_given?
  end
end