Sha256: a340de9ca2d061797b2b94b0ca7fdfcf36bd3f5d9f3cac66749c33ff981317f4
Contents?: true
Size: 411 Bytes
Versions: 15
Compression:
Stored size: 411 Bytes
Contents
module Cordial # Encapsulates the configuration of each client before JIT before requests # are made. This allows us to use our configuration which won't have been # available until runtime, not load time. module Client def client base_uri 'https://api.cordial.io/v1' basic_auth(Cordial.config.api_key, '') headers 'Content-Type' => 'application/json' self end end end
Version data entries
15 entries across 15 versions & 1 rubygems