Method: AdpClient#initialize
- Defined in:
- lib/adp_client.rb
#initialize(options = {}) ⇒ AdpClient
Returns a new instance of AdpClient.
65 66 67 68 69 70 71 72 73 |
# File 'lib/adp_client.rb', line 65 def initialize( = {}) = .merge() @client_id = [:client_id] @client_secret = [:client_secret] @base_url = [:base_url] @options = { pem: [:pem] } @logger = .fetch(:logger, Logger.new(STDOUT)) end |