Sha256: 065ea9b5513d16e168d88689d41b3f6b0dd2cff4a59400779822ae9da4e9aa74

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

require "fc_enrich/version"

module FcEnrich
  class Error < StandardError; end
  # Your code goes here...

  def self.api_key=(val)
    @key = val.to_str
  end

  def self.api_key
    @key
  end

  def self.http_client
    use_fake? ? FakeClient.new : HttpClient.new
  end

  def self.use_fake?
    false
  end
end

require 'fc_enrich/person_enrich_request'
require 'fc_enrich/fake_client'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fc_enrich-0.2.1 lib/fc_enrich.rb
fc_enrich-0.2.0 lib/fc_enrich.rb