class Contactually::Connection

Public Class Methods

new(api_key) click to toggle source
# File lib/contactually.rb, line 31
def initialize(api_key)
  @options = { query: {api_key: api_key } }
end

Public Instance Methods

tasks_list() click to toggle source
# File lib/contactually.rb, line 35
def tasks_list
  self.class.get("/api/v1/tasks", @options)
end