Sha256: cabfede42a87ff0d44daf50e9ee5f655bf61c3f4a3fb0e347c5973413f5fd23a

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 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.cards(list_id)
  end
end

require "tredo/todo"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tredo-0.1.3 lib/tredo.rb