Sha256: 3e99702f2635438604deb5f7fb6079243eee74492c18449e50f01128beabb1b2
Contents?: true
Size: 951 Bytes
Versions: 2
Compression:
Stored size: 951 Bytes
Contents
module Contactually class Client attr_reader :interface def initialize(api_key: nil, auth_token: nil, base_url: 'https://api.contactually.com') @api_key = api_key @auth_token = auth_token @base_url = base_url @interface = Contactually::Interface.new( api_key: @api_key, auth_token: @auth_token, base_url: @base_url ) end def buckets @buckets ||= Contactually::Buckets.new(interface: interface) end def contacts @contacts ||= Contactually::Contacts.new(interface: interface) end def interactions @interactions ||= Contactually::Interactions.new(interface: interface) end def me @me ||= Contactually::Me.new(interface: interface) end def tags @tags ||= Contactually::Tags.new(interface: interface) end def tasks @tasks ||= Contactually::Tasks.new(interface: interface) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contactually-rb-0.1.3 | lib/contactually/client.rb |
contactually-rb-0.1.2 | lib/contactually/client.rb |