module PeopleDoc::V1

Attributes

api_key[RW]
base_url[RW]
logger[RW]

Public Class Methods

configure() { |self| ... } click to toggle source

Configures default PeopleDoc REST APIv1 settings.

@example configuring the client defaults

PeopleDoc::V1.configure do |config|
  config.api_key = 'api_key'
  config.base_url = 'https://api.staging.us.people-doc.com'
  config.logger = Logger.new(STDOUT)
end

@example using the client

client = PeopleDoc::V1::Client.new
# File lib/people_doc.rb, line 58
def configure
  yield self
  true
end