class Nin::Integration::Todoist::Client

Constants

BASE_URI

Public Class Methods

new(token) click to toggle source
# File lib/nin/integration/todoist/client.rb, line 7
def initialize(token)
  @token = token
end

Public Instance Methods

items() click to toggle source
# File lib/nin/integration/todoist/client.rb, line 19
def items
  @items ||= Client::Item.new(@token)
end
projects() click to toggle source
# File lib/nin/integration/todoist/client.rb, line 15
def projects
  @projects ||= Client::Project.new(@token)
end
sync() click to toggle source
# File lib/nin/integration/todoist/client.rb, line 11
def sync
  @sync ||= Client::Sync.new(@token)
end