Sha256: 625a99cec0dc23a638d330558e654206095575d0e8c7b83671c81631e9a77f81

Contents?: true

Size: 469 Bytes

Versions: 10

Compression:

Stored size: 469 Bytes

Contents

module FullContact
  # Wrapper for the FullContact REST API

  class Client < API
    # Require client method modules after initializing the Client class in
    # order to avoid a superclass mismatch error, allowing those modules to be
    # Client-namespaced.
    require 'fullcontact/client/person'
    require 'fullcontact/client/company'

    alias :api_endpoint :endpoint

    include FullContact::Client::Person
    include FullContact::Client::Company
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
fullcontact-api-ruby-0.1.0 lib/fullcontact/client.rb
fullcontact-0.18.0 lib/fullcontact/client.rb
fullcontact-0.17.0 lib/fullcontact/client.rb
fullcontact-0.16.0 lib/fullcontact/client.rb
fullcontact-0.15.0 lib/fullcontact/client.rb
fullcontact-0.14.0 lib/fullcontact/client.rb
fullcontact-0.13.0 lib/fullcontact/client.rb
fullcontact-0.12.0 lib/fullcontact/client.rb
fullcontact-0.11.0 lib/fullcontact/client.rb
fullcontact-0.10.0 lib/fullcontact/client.rb