Class: ClinchTalent::Base
- Inherits:
-
JsonApiClient::Resource
- Object
- JsonApiClient::Resource
- ClinchTalent::Base
- Defined in:
- lib/clinch_talent/base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.config(access_id, secret, options = {}) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/clinch_talent/base.rb', line 3 def self.config(access_id, secret, = {}) self.site = [:site] || 'https://api.clinchtalent.com/v1/' self.connection do |connection| connection.use HmacSigningMiddleware, {access_id: access_id, secret: secret} end end |