Sha256: 17cc19473311256d3b592dd17b0dfa6e8a95686438cda69dbdc0e3da11d310fb
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 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 me @contacts ||= 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contactually-rb-0.1.1 | lib/contactually/client.rb |