Module: Yello

Defined in:
lib/yello.rb,
lib/yello/auth.rb,
lib/yello/base.rb,
lib/yello/card.rb,
lib/yello/list.rb,
lib/yello/import.rb,
lib/yello/trello.rb,
lib/yello/to_yaml.rb,
lib/yello/version.rb,
lib/yello/checklist.rb,
lib/yello/cli/login.rb,
lib/yello/from_yaml.rb,
lib/yello/cli/export.rb,
lib/yello/cli/import.rb,
lib/yello/from_trello.rb

Defined Under Namespace

Modules: FromTrello, FromYaml, ToYaml, Trello Classes: Auth, Base, CLI, Card, Checklist, Import, List

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.from_trello(board) ⇒ Object



7
8
9
# File 'lib/yello/from_trello.rb', line 7

def from_trello(board)
  Yello::FromTrello.convert(board)
end

.from_yaml(string) ⇒ Object



6
7
8
# File 'lib/yello/from_yaml.rb', line 6

def from_yaml(string)
  Yello::FromYaml.convert(string)
end

.import(name, lists) ⇒ Object



6
7
8
# File 'lib/yello/import.rb', line 6

def import(name, lists) 
  Yello::Import.new.run(name, lists)
end

.to_yaml(lists) ⇒ Object



4
5
6
# File 'lib/yello/to_yaml.rb', line 4

def to_yaml(lists)
  Yello::ToYaml.convert(lists)
end