Sha256: d6c912486247c586c94c03dbd953df4648125a60f8708a5198c22a0a33c7bb29

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

require_relative "tredo/version"
require "tredo/restprovider"

module Tredo
  def self.create_todo(name)
    restclient = RestProvider.new
    todo = Todo.new(restclient)
    todo.create_card(name)
  end

  def self.todo_lists
    restclient = RestProvider.new
    todo = Todo.new(restclient)
    todo.lists
  end

  def self.todos_for_list(list_id)
    restclient = RestProvider.new
    todo = Todo.new(restclient)
    todo.actions(list_id)
  end
end

require "tredo/todo"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tredo-0.1.2 lib/tredo.rb